diff options
| author | click <none@none> | 2010-08-28 19:24:50 +0200 |
|---|---|---|
| committer | click <none@none> | 2010-08-28 19:24:50 +0200 |
| commit | 2930c02198306cc7c2073c11329251835d05924a (patch) | |
| tree | 8499650dd32104110e91ecca5afaf3dc8f26b84b /src/server/authserver | |
| parent | dcaeceaf6b3e4cfe16d5c5fbad7473dfb14ba4dd (diff) | |
Buildsystem: Update CMakeLists to use the proper check, not the old one...
--HG--
branch : trunk
Diffstat (limited to 'src/server/authserver')
| -rw-r--r-- | src/server/authserver/CMakeLists.txt | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/server/authserver/CMakeLists.txt b/src/server/authserver/CMakeLists.txt index 517feb9a45c..e8c94866867 100644 --- a/src/server/authserver/CMakeLists.txt +++ b/src/server/authserver/CMakeLists.txt @@ -15,11 +15,11 @@ file(GLOB_RECURSE sources_realms Realms/*.cpp Realms/*.h) file(GLOB_RECURSE sources_server Server/*.cpp Server/*.h) file(GLOB sources_localdir *.cpp *.h) -if( GAMEPCH ) +if( USE_COREPCH ) include_directories(${CMAKE_CURRENT_BINARY_DIR}) endif() -if ( GAMEPCH AND MSVC ) +if ( USE_COREPCH AND MSVC ) set(authserver_SRCS PrecompiledHeaders/authPCH.cpp PrecompiledHeaders/authPCH.h @@ -118,7 +118,7 @@ elseif( WIN32 ) endif() # Generate precompiled header -if( GAMEPCH ) +if( USE_COREPCH ) if(CMAKE_COMPILER_IS_GNUCXX) add_precompiled_header(authserver ${CMAKE_CURRENT_SOURCE_DIR}/PrecompiledHeaders/authPCH.h) elseif(MSVC) |
