Skip to content

Commit

Permalink
Remove CMakeCache.txt before building with Cmake.
Browse files Browse the repository at this point in the history
To ensure that any changes in CMakeLists.txt are picked up by the build.
  • Loading branch information
jralls committed Oct 22, 2016
1 parent 855a19d commit 53dde40
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions install-impl.sh
Expand Up @@ -1358,6 +1358,9 @@ function inst_gnucash_using_cmake() {
_CMAKE_MAKE_PROGRAM=$_NINJA_UDIR/ninja.exe
fi
qpushd $_BUILD_UDIR
if [ -f CMakeCache.txt ]; then
rm CMakeCache.txt
fi
cmake -G "$CMAKE_GENERATOR" \
-D CMAKE_INSTALL_PREFIX=${_INSTALL_UDIR} \
-D CMAKE_PREFIX_PATH=${_GLOBAL_UDIR} \
Expand Down

0 comments on commit 53dde40

Please sign in to comment.