mirror of
https://github.com/OPM/opm-simulators.git
synced 2025-02-25 18:55:30 -06:00
Make sure CMake is re-run if dune.module changes
Version number in this module is included in the name of the library; if we make changes to dune.module, it should do a complete reconfigure.
This commit is contained in:
parent
7953a0cdad
commit
6fa44b6f23
@ -223,3 +223,10 @@ opm_dist_clean (${project})
|
|||||||
|
|
||||||
### emulate the with-xxx feature of autotools;
|
### emulate the with-xxx feature of autotools;
|
||||||
include (OpmKnown)
|
include (OpmKnown)
|
||||||
|
|
||||||
|
# make sure we rebuild if dune.module changes
|
||||||
|
configure_file (
|
||||||
|
"${CMAKE_CURRENT_SOURCE_DIR}/dune.module"
|
||||||
|
"${CMAKE_CURRENT_BINARY_DIR}/dunemod.tmp"
|
||||||
|
COPYONLY
|
||||||
|
)
|
||||||
|
Loading…
Reference in New Issue
Block a user