aboutsummaryrefslogtreecommitdiff
path: root/src/server/scripts
diff options
context:
space:
mode:
authorclick <none@none>2010-07-27 05:40:21 +0200
committerclick <none@none>2010-07-27 05:40:21 +0200
commitbfc6dec0728dddb531fbe003c741b784c7f02592 (patch)
tree8b1bf0eb4c89a296b2b0a5b239ec7400d4df13ab /src/server/scripts
parent2b9275424eadb0871ca951bc9e24a9a9987c9df7 (diff)
Cut away DO_*-parts from buildsystem and specific files checking for it.
--HG-- branch : trunk
Diffstat (limited to 'src/server/scripts')
-rw-r--r--src/server/scripts/CMakeLists.txt4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/server/scripts/CMakeLists.txt b/src/server/scripts/CMakeLists.txt
index 9f0cd8ad452..01b7d3e561e 100644
--- a/src/server/scripts/CMakeLists.txt
+++ b/src/server/scripts/CMakeLists.txt
@@ -17,7 +17,7 @@ file(GLOB_RECURSE scripts_spells Spells/*.cpp)
file(GLOB_RECURSE scripts_examples Examples/*.cpp)
# Enable precompiled headers when using the GCC compiler.
-if(DO_PCH)
+if(PCH)
include_directories(
${CMAKE_CURRENT_BINARY_DIR}
)
@@ -135,7 +135,7 @@ endif()
add_library(scripts STATIC ${scripts_STAT_SRCS})
# Generate precompiled header
-if(DO_PCH)
+if(PCH)
if(CMAKE_COMPILER_IS_GNUCXX)
add_precompiled_header(scripts ${CMAKE_SOURCE_DIR}/src/server/game/PrecompiledHeaders/ScriptPCH.h)
elseif(MSVC)