|
|
|
@ -235,14 +235,13 @@ endif (APPLE)
|
|
|
|
|
|
|
|
|
|
# Set up Ogre plugin folder & debug suffix
|
|
|
|
|
set(DEBUG_SUFFIX "")
|
|
|
|
|
if (DEFINED CMAKE_BUILD_TYPE)
|
|
|
|
|
if (CMAKE_BUILD_TYPE STREQUAL "Debug")
|
|
|
|
|
set(DEBUG_SUFFIX "_d")
|
|
|
|
|
add_definitions(-DOGRE_PLUGIN_DEBUG_SUFFIX="_d")
|
|
|
|
|
else()
|
|
|
|
|
add_definitions(-DOGRE_PLUGIN_DEBUG_SUFFIX="")
|
|
|
|
|
endif()
|
|
|
|
|
if (DEFINED CMAKE_BUILD_TYPE AND CMAKE_BUILD_TYPE STREQUAL "Debug")
|
|
|
|
|
set(DEBUG_SUFFIX "_d")
|
|
|
|
|
add_definitions(-DOGRE_PLUGIN_DEBUG_SUFFIX="_d")
|
|
|
|
|
else()
|
|
|
|
|
add_definitions(-DOGRE_PLUGIN_DEBUG_SUFFIX="")
|
|
|
|
|
endif()
|
|
|
|
|
|
|
|
|
|
add_definitions(-DOGRE_PLUGIN_DIR_REL="${OGRE_PLUGIN_DIR_REL}")
|
|
|
|
|
add_definitions(-DOGRE_PLUGIN_DIR_DBG="${OGRE_PLUGIN_DIR_DBG}")
|
|
|
|
|
add_definitions(-DOGRE_PLUGIN_DIR="${OGRE_PLUGIN_DIR}")
|
|
|
|
|