1
0
Fork 1
mirror of https://github.com/TES3MP/openmw-tes3mp.git synced 2025-01-19 21:53:51 +00:00
This commit is contained in:
Nikolay Kasyanov 2012-07-28 02:38:37 +04:00
parent b0b2064232
commit 7161361b52

View file

@ -256,11 +256,9 @@ endif (APPLE)
# Set up Ogre plugin folder & debug suffix
set(DEBUG_SUFFIX "")
if (DEFINED CMAKE_BUILD_TYPE)
# Ogre on OS X doesn't use "_d" suffix (see Ogre's CMakeLists.txt)
if (CMAKE_BUILD_TYPE STREQUAL "Debug" AND NOT APPLE)
set(DEBUG_SUFFIX "_d")
add_definitions(-DOGRE_PLUGIN_DEBUG_SUFFIX="_d")
else()
add_definitions(-DOGRE_PLUGIN_DEBUG_SUFFIX="")