Buildsystem: Move the test for "hidden" flag NOPCH down a bit so it can override already set options

--HG--
branch : trunk
This commit is contained in:
click
2010-08-28 23:19:43 +02:00
parent 453476e2c3
commit 7ad5e2ad87

View File

@@ -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!)