|
|
@ -17,9 +17,8 @@ if(DPKG_PROGRAM)
|
|
|
|
set(MORROWIND_RESOURCE_FILES "/usr/share/games/openmw/resources/" CACHE PATH "location of OpenMW resources files")
|
|
|
|
set(MORROWIND_RESOURCE_FILES "/usr/share/games/openmw/resources/" CACHE PATH "location of OpenMW resources files")
|
|
|
|
else()
|
|
|
|
else()
|
|
|
|
if (APPLE)
|
|
|
|
if (APPLE)
|
|
|
|
# set path inside bundle
|
|
|
|
set(MORROWIND_DATA_FILES "./data" CACHE PATH "location of Morrowind data files")
|
|
|
|
set(MORROWIND_DATA_FILES "../data" CACHE PATH "location of Morrowind data files")
|
|
|
|
set(MORROWIND_RESOURCE_FILES "./resources" CACHE PATH "location of OpenMW resources files")
|
|
|
|
set(MORROWIND_RESOURCE_FILES "Contents/Resources/resources" CACHE PATH "location of OpenMW resources files")
|
|
|
|
|
|
|
|
else()
|
|
|
|
else()
|
|
|
|
set(MORROWIND_DATA_FILES "data" CACHE PATH "location of Morrowind data files")
|
|
|
|
set(MORROWIND_DATA_FILES "data" CACHE PATH "location of Morrowind data files")
|
|
|
|
set(MORROWIND_RESOURCE_FILES "resources" CACHE PATH "location of OpenMW resources files")
|
|
|
|
set(MORROWIND_RESOURCE_FILES "resources" CACHE PATH "location of OpenMW resources files")
|
|
|
@ -366,7 +365,7 @@ endif()
|
|
|
|
|
|
|
|
|
|
|
|
if (APPLE)
|
|
|
|
if (APPLE)
|
|
|
|
configure_file(${OpenMW_SOURCE_DIR}/files/plugins.cfg.mac
|
|
|
|
configure_file(${OpenMW_SOURCE_DIR}/files/plugins.cfg.mac
|
|
|
|
"${APP_BUNDLE_DIR}/Contents/MacOS/plugins.cfg")
|
|
|
|
"${OpenMW_BINARY_DIR}/plugins.cfg")
|
|
|
|
|
|
|
|
|
|
|
|
configure_file(${OpenMW_SOURCE_DIR}/files/mac/Info.plist
|
|
|
|
configure_file(${OpenMW_SOURCE_DIR}/files/mac/Info.plist
|
|
|
|
"${APP_BUNDLE_DIR}/Contents/Info.plist" COPYONLY)
|
|
|
|
"${APP_BUNDLE_DIR}/Contents/Info.plist" COPYONLY)
|
|
|
@ -385,9 +384,6 @@ if (APPLE)
|
|
|
|
configure_file(${OGRE_PLUGIN_DIR}/Plugin_ParticleFX.dylib
|
|
|
|
configure_file(${OGRE_PLUGIN_DIR}/Plugin_ParticleFX.dylib
|
|
|
|
"${APP_BUNDLE_DIR}/Contents/Plugins/Plugin_ParticleFX.dylib" COPYONLY)
|
|
|
|
"${APP_BUNDLE_DIR}/Contents/Plugins/Plugin_ParticleFX.dylib" COPYONLY)
|
|
|
|
|
|
|
|
|
|
|
|
configure_file(${OpenMW_SOURCE_DIR}/files/openmw.cfg
|
|
|
|
|
|
|
|
"${APP_BUNDLE_DIR}/Contents/MacOS/openmw.cfg")
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
endif (APPLE)
|
|
|
|
endif (APPLE)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@ -398,6 +394,7 @@ if (CMAKE_COMPILER_IS_GNUCC)
|
|
|
|
endif (CMAKE_COMPILER_IS_GNUCC)
|
|
|
|
endif (CMAKE_COMPILER_IS_GNUCC)
|
|
|
|
|
|
|
|
|
|
|
|
# Apple bundling
|
|
|
|
# Apple bundling
|
|
|
|
|
|
|
|
# TODO REWRITE!
|
|
|
|
if (APPLE)
|
|
|
|
if (APPLE)
|
|
|
|
set(MISC_FILES
|
|
|
|
set(MISC_FILES
|
|
|
|
${APP_BUNDLE_DIR}/Contents/MacOS/openmw.cfg
|
|
|
|
${APP_BUNDLE_DIR}/Contents/MacOS/openmw.cfg
|
|
|
|