From 9838cc680a440e1a303cb188b0f1f27f5401850a Mon Sep 17 00:00:00 2001 From: David Cernat Date: Fri, 15 Sep 2017 08:19:15 +0300 Subject: [PATCH] [Server] Enable Lua debugging for RelWithDebInfo builds --- apps/openmw-mp/CMakeLists.txt | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/apps/openmw-mp/CMakeLists.txt b/apps/openmw-mp/CMakeLists.txt index f99b2a8e6..8c1bd79eb 100644 --- a/apps/openmw-mp/CMakeLists.txt +++ b/apps/openmw-mp/CMakeLists.txt @@ -128,8 +128,9 @@ add_executable(tes3mp-server ${APPLE_BUNDLE_RESOURCES} ) -target_compile_definitions(tes3mp-server PRIVATE $<$:SOL_SAFE_FUNCTIONS>) # for lua debuging -target_compile_definitions(tes3mp-server PRIVATE $<$:SERVER_DEBUG>) # for lua debuging +# For Lua debugging +target_compile_definitions(tes3mp-server PRIVATE $<$:SOL_SAFE_FUNCTIONS> $<$:SOL_SAFE_FUNCTIONS>) +target_compile_definitions(tes3mp-server PRIVATE $<$:SERVER_DEBUG> $<$:SERVER_DEBUG>) if (CMAKE_CXX_COMPILER_ID STREQUAL "GNU" OR CMAKE_CXX_COMPILER_ID STREQUAL "Clang") target_compile_options(tes3mp-server PRIVATE -std=gnu++14 -Wno-ignored-qualifiers -ftemplate-depth=2048)