ogre-1.9.0-remove_media_path_to_bindir.patch 545 B

1234567891011121314
  1. --- a/CMake/InstallResources.cmake
  2. +++ b/CMake/InstallResources.cmake
  3. @@ -178,10 +178,6 @@
  4. # CREATE CONFIG FILES - BUILD DIR VERSIONS
  5. if (NOT OGRE_BUILD_PLATFORM_APPLE_IOS)
  6. - set(OGRE_MEDIA_DIR_REL "${OGRE_SOURCE_DIR}/Samples/Media")
  7. - set(OGRE_MEDIA_DIR_DBG "${OGRE_SOURCE_DIR}/Samples/Media")
  8. - set(OGRE_TEST_MEDIA_DIR_REL "${OGRE_SOURCE_DIR}/Tests/Media")
  9. - set(OGRE_TEST_MEDIA_DIR_DBG "${OGRE_SOURCE_DIR}/Tests/Media")
  10. else ()
  11. # iOS needs to use relative paths in the config files
  12. set(OGRE_MEDIA_DIR_REL "${OGRE_MEDIA_PATH}")