From 7ad5e2ad875e7488175f6c59b68f548372489e4b Mon Sep 17 00:00:00 2001 From: click Date: Sat, 28 Aug 2010 23:19:43 +0200 Subject: [PATCH] Buildsystem: Move the test for "hidden" flag NOPCH down a bit so it can override already set options --HG-- branch : trunk --- CMakeLists.txt | 6 +++--- 1 file 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!)