From 6338b8d591480cea19316fec11bca20eae654e70 Mon Sep 17 00:00:00 2001 From: Bruno Turcksin Date: Thu, 23 Jul 2015 17:51:03 -0500 Subject: [PATCH] Clear CMake cache before configuration. --- candi.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/candi.sh b/candi.sh index 1ffd047..766d33d 100755 --- a/candi.sh +++ b/candi.sh @@ -286,6 +286,8 @@ package_build() { echo scons -j ${PROCS} ${SCONSOPTS} prefix=${INSTALL_PATH} $target >>candi_build done elif [ ${BUILDCHAIN} = "cmake" ]; then + rm -f ${BUILDDDIR}/CMakeCache.txt + rm -rf ${BUILDDIR}/CMakeFiles echo cmake ${CONFOPTS} -DCMAKE_INSTALL_PREFIX=${INSTALL_PATH} ${UNPACK_PATH}/${EXTRACTSTO} >>candi_configure for target in "${TARGETS[@]}"; do echo make ${MAKEOPTS} -j ${PROCS} $target >>candi_build -- 2.39.5