mirror of
https://github.com/TES3MP/TES3MP.git
synced 2025-09-29 16:11:37 -04:00
Merge remote branch 'corristo/master'
This commit is contained in:
commit
17872bf88b
@ -255,6 +255,19 @@ if (APPLE)
|
|||||||
"${APP_BUNDLE_DIR}/Contents/Resources/OpenMW.icns" COPYONLY)
|
"${APP_BUNDLE_DIR}/Contents/Resources/OpenMW.icns" COPYONLY)
|
||||||
|
|
||||||
# prepare plugins
|
# prepare plugins
|
||||||
|
if (${CMAKE_BUILD_TYPE} MATCHES "Release")
|
||||||
|
set(OPENMW_RELEASE_BUILD 1)
|
||||||
|
endif()
|
||||||
|
if (${CMAKE_BUILD_TYPE} MATCHES "RelWithDebugInfo")
|
||||||
|
set(OPENMW_RELEASE_BUILD 1)
|
||||||
|
endif()
|
||||||
|
|
||||||
|
if (${OPENMW_RELEASE_BUILD})
|
||||||
|
set(OGRE_PLUGIN_DIR ${OGRE_PLUGIN_DIR_REL})
|
||||||
|
else()
|
||||||
|
set(OGRE_PLUGIN_DIR ${OGRE_PLUGIN_DIR_DBG})
|
||||||
|
endif()
|
||||||
|
|
||||||
foreach(plugin ${USED_OGRE_PLUGINS})
|
foreach(plugin ${USED_OGRE_PLUGINS})
|
||||||
configure_file("${OGRE_PLUGIN_DIR}/${plugin}.dylib"
|
configure_file("${OGRE_PLUGIN_DIR}/${plugin}.dylib"
|
||||||
"${APP_BUNDLE_DIR}/Contents/Plugins/${plugin}.dylib"
|
"${APP_BUNDLE_DIR}/Contents/Plugins/${plugin}.dylib"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user