mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-01-20 09:17:36 +01:00
Cut away DO_*-parts from buildsystem and specific files checking for it.
--HG-- branch : trunk
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user