mirror of
https://github.com/araxiaonline/TrinityCore.git
synced 2026-06-13 03:32:28 -04:00
BuildSystem: Fix missing variable parameter encapsulation for _BUILD_DIRECTIVE (gcc/xcode)
--HG-- branch : trunk
This commit is contained in:
@@ -1,10 +1,5 @@
|
||||
# build in Release-mode by default if not explicitly set
|
||||
if( NOT CMAKE_BUILD_TYPE )
|
||||
set(CMAKE_BUILD_TYPE "Release")
|
||||
endif()
|
||||
|
||||
# Set build-directive (used in core to tell which buildtype we used)
|
||||
add_definitions(-D_BUILD_DIRECTIVE=${CMAKE_BUILD_TYPE})
|
||||
add_definitions(-D_BUILD_DIRECTIVE="${CMAKE_BUILD_TYPE}")
|
||||
|
||||
add_definitions(-fno-delete-null-pointer-checks)
|
||||
|
||||
|
||||
@@ -1,3 +1,3 @@
|
||||
# Set build-directive (used in core to tell which buildtype we used)
|
||||
add_definitions(-D_BUILD_DIRECTIVE="\"$(CONFIGURATION)"\")
|
||||
add_definitions(-D_BUILD_DIRECTIVE="$(CONFIGURATION)")
|
||||
|
||||
|
||||
Reference in New Issue
Block a user