diff --git a/apps/openmw-mp/CMakeLists.txt b/apps/openmw-mp/CMakeLists.txt index 93ad4768c..0cbec0f67 100644 --- a/apps/openmw-mp/CMakeLists.txt +++ b/apps/openmw-mp/CMakeLists.txt @@ -135,6 +135,7 @@ add_executable(tes3mp-server # For Lua debugging target_compile_definitions(tes3mp-server PRIVATE $<$:SOL_SAFE_FUNCTIONS> $<$:SOL_SAFE_FUNCTIONS>) +target_compile_definitions(tes3mp-server PRIVATE $<$:SOL_SAFE_USERTYPE> $<$:SOL_SAFE_USERTYPE>) target_compile_definitions(tes3mp-server PRIVATE $<$:SERVER_DEBUG> $<$:SERVER_DEBUG>) if (CMAKE_CXX_COMPILER_ID STREQUAL "GNU" OR CMAKE_CXX_COMPILER_ID STREQUAL "Clang")