2022-10-13 20:58:22 +02:00
|
|
|
diff --git a/CMake/InstallResources.cmake b/CMake/InstallResources.cmake
|
2023-02-17 02:05:47 +08:00
|
|
|
index 09789ce..3d918e4 100644
|
2022-10-13 20:58:22 +02:00
|
|
|
--- a/CMake/InstallResources.cmake
|
|
|
|
+++ b/CMake/InstallResources.cmake
|
|
|
|
@@ -61,7 +61,6 @@ elseif (APPLE)
|
|
|
|
endif()
|
|
|
|
# these are resolved relative to the app bundle
|
|
|
|
set(OGRE_SAMPLES_DIR_REL "Contents/Plugins/")
|
|
|
|
- set(OGRE_CFG_INSTALL_PATH "bin")
|
|
|
|
elseif (UNIX)
|
|
|
|
set(OGRE_TEST_MEDIA_DIR_REL "${CMAKE_INSTALL_PREFIX}/Tests/Media")
|
|
|
|
set(OGRE_SAMPLES_DIR_REL "${CMAKE_INSTALL_PREFIX}/${OGRE_LIB_DIRECTORY}/OGRE/Samples")
|
2023-02-17 02:05:47 +08:00
|
|
|
@@ -155,6 +154,10 @@ endif()
|
2022-10-13 20:58:22 +02:00
|
|
|
|
2023-02-17 02:05:47 +08:00
|
|
|
set(OGRE_SAMPLE_RESOURCES "")
|
2022-10-13 20:58:22 +02:00
|
|
|
|
|
|
|
+set(OGRE_PLUGIN_DIR_REL "${CMAKE_INSTALL_PREFIX}/${OGRE_PLUGINS_PATH}")
|
|
|
|
+cmake_path(RELATIVE_PATH OGRE_PLUGIN_DIR_REL BASE_DIRECTORY "${CMAKE_INSTALL_PREFIX}/${OGRE_CFG_INSTALL_PATH}")
|
|
|
|
+set(OGRE_MEDIA_DIR_REL "${CMAKE_INSTALL_PREFIX}/${OGRE_MEDIA_PATH}")
|
|
|
|
+cmake_path(RELATIVE_PATH OGRE_MEDIA_DIR_REL BASE_DIRECTORY "${CMAKE_INSTALL_PREFIX}/${OGRE_CFG_INSTALL_PATH}")
|
|
|
|
set(OGRE_CORE_MEDIA_DIR "${OGRE_MEDIA_DIR_REL}")
|
2023-02-17 02:05:47 +08:00
|
|
|
|
2022-10-13 20:58:22 +02:00
|
|
|
# CREATE CONFIG FILES - INSTALL VERSIONS
|
|
|
|
|