From d5dc9bd7c9f6630aa035fbaa8033420fc5082cca Mon Sep 17 00:00:00 2001 From: Adam Wardynski <award@.(win7-laptop)> Date: Fri, 1 Jul 2011 16:44:27 +0200 Subject: [PATCH] Don't force feed cache with TRUE values of some flags. Otherwise it will always try to build poliqarp/swig, regardless of what you try to set in cmkae cache. May the force be with you... NOT. --- CMakeLists.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index e15adab..a53b0a8 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -10,8 +10,8 @@ IF(NOT CMAKE_BUILD_TYPE) FORCE) ENDIF(NOT CMAKE_BUILD_TYPE) -set(CORPUS2_BUILD_SWIG True CACHE BOOL "Build SWIG Python wrappers" FORCE) -set(CORPUS2_BUILD_POLIQARP True CACHE BOOL "Build Poliqarp library and wraper" FORCE) +set(CORPUS2_BUILD_SWIG True CACHE BOOL "Build SWIG Python wrappers") +set(CORPUS2_BUILD_POLIQARP True CACHE BOOL "Build Poliqarp library and wraper") if(CMAKE_COMPILER_IS_GNUCXX) # Set our own default flags at first run. -- GitLab