Revert clever setting of version number in dune.module
dunecontrol will read the dune.module file first, before calling any configuration files; thus it cannot be initialized from the script but the version numbers must be hardcoded here and updated manually.
This commit is contained in:
@@ -46,11 +46,6 @@ function (opm_cmake_config name)
|
||||
FILE CMAKE "${PROJECT_BINARY_DIR}/${name}-config.cmake"
|
||||
APPEND "${${name}_CONFIG_VARS}"
|
||||
)
|
||||
configure_file (
|
||||
${PROJECT_SOURCE_DIR}/dune.module.in
|
||||
${PROJECT_BINARY_DIR}/dune.module
|
||||
@ONLY
|
||||
)
|
||||
|
||||
# config-mode .pc file; use this to find the build tree
|
||||
configure_pc_file (
|
||||
|
||||
Reference in New Issue
Block a user