aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorclick <none@none>2010-08-28 23:19:43 +0200
committerclick <none@none>2010-08-28 23:19:43 +0200
commit7ad5e2ad875e7488175f6c59b68f548372489e4b (patch)
tree572504ce79c1decdde491ec351faa4ef68e6c5d7
parent453476e2c38dc692c8f109211ebe1805f2b54b0c (diff)
Buildsystem: Move the test for "hidden" flag NOPCH down a bit so it can override already set options
--HG-- branch : trunk
-rw-r--r--CMakeLists.txt6
1 files changed, 3 insertions, 3 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index ab620e9d9ae..f93a5d64578 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -32,15 +32,15 @@ endif()
include(CheckCXXSourceRuns)
include(CheckIncludeFiles)
+# set default buildoptions and print them
+include(cmake/options.cmake)
+
# turn off PCH totally if enabled (hidden setting, mainly for devs)
if( NOPCH )
set(USE_COREPCH 0)
set(USE_SCRIPTPCH 0)
endif()
-# set default buildoptions and print them
-include(cmake/options.cmake)
-
include(CheckPlatform)
# basic packagesearching and setup (further support will be needed, this is a preliminary release!)