mirror of
https://github.com/OPM/opm-simulators.git
synced 2025-02-25 18:55:30 -06:00
configure script: also delete the cmake cache
This replicates the autotools behavior and was suggested by Roland Kaufmann.
This commit is contained in:
parent
2e9272384d
commit
ba4c7400ba
1
cmake/Scripts/configure
vendored
1
cmake/Scripts/configure
vendored
@ -516,6 +516,7 @@ done
|
|||||||
# For more details, see http://www.cmake.org/Bug/view.php?id=14119
|
# For more details, see http://www.cmake.org/Bug/view.php?id=14119
|
||||||
echo "--- deleting previous CMake files ---"
|
echo "--- deleting previous CMake files ---"
|
||||||
rm -rf CMakeFiles
|
rm -rf CMakeFiles
|
||||||
|
rm -f CMakeCache.txt
|
||||||
|
|
||||||
# pass everything on to CMake
|
# pass everything on to CMake
|
||||||
CMDLINE="${ENVVARS}${CMAKE_COMMAND} \"${srcdir}\" ${use_ninja}\"-DCMAKE_INSTALL_PREFIX=$prefix\"${buildtype}${pch_use}${silent_rules}${debug_loc}${use_openmp}${use_mpi}${use_lto}${use_runpath}${use_tests}${use_samples}${use_underscoring}${c_compiler}${c_opts}${cxx_compiler}${cxx_opts}${fort_compiler}${fort_opts}${boost_opts}${buildname}${site} ${FEATURES}"
|
CMDLINE="${ENVVARS}${CMAKE_COMMAND} \"${srcdir}\" ${use_ninja}\"-DCMAKE_INSTALL_PREFIX=$prefix\"${buildtype}${pch_use}${silent_rules}${debug_loc}${use_openmp}${use_mpi}${use_lto}${use_runpath}${use_tests}${use_samples}${use_underscoring}${c_compiler}${c_opts}${cxx_compiler}${cxx_opts}${fort_compiler}${fort_opts}${boost_opts}${buildname}${site} ${FEATURES}"
|
||||||
|
Loading…
Reference in New Issue
Block a user