mirror of
https://github.com/mod-playerbots/azerothcore-wotlk.git
synced 2025-11-29 17:38:24 +08:00
fix(CMake/Build): set default build type to RelWithDebInfo (#7445)
This commit is contained in:
@@ -78,8 +78,8 @@ ENDFOREACH()
|
|||||||
CU_RUN_HOOK("AFTER_LOAD_CONF")
|
CU_RUN_HOOK("AFTER_LOAD_CONF")
|
||||||
|
|
||||||
# build in Release-mode by default if not explicitly set
|
# build in Release-mode by default if not explicitly set
|
||||||
if( NOT CMAKE_BUILD_TYPE )
|
if(NOT CMAKE_BUILD_TYPE)
|
||||||
set(CMAKE_BUILD_TYPE "Release")
|
set(CMAKE_BUILD_TYPE "RelWithDebInfo")
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
# turn off PCH totally if enabled (hidden setting, mainly for devs)
|
# turn off PCH totally if enabled (hidden setting, mainly for devs)
|
||||||
|
|||||||
Reference in New Issue
Block a user