diff -rubw ../ogre_src_v1-7-3.orig/Components/Paging/CMakeLists.txt ./Components/Paging/CMakeLists.txt --- ../ogre_src_v1-7-3.orig/Components/Paging/CMakeLists.txt 2011-05-08 13:28:04.000000000 -0500 +++ ./Components/Paging/CMakeLists.txt 2011-08-05 16:15:41.000000000 -0500 @@ -67,7 +67,7 @@ # Set the INSTALL_PATH so that Components can be installed in the application package set_target_properties(OgrePaging PROPERTIES BUILD_WITH_INSTALL_RPATH 1 - INSTALL_NAME_DIR "@executable_path/../Components" + INSTALL_NAME_DIR "@@PREFIX@@/lib/" ) # Copy headers into the main Ogre framework diff -rubw ../ogre_src_v1-7-3.orig/Components/Property/CMakeLists.txt ./Components/Property/CMakeLists.txt --- ../ogre_src_v1-7-3.orig/Components/Property/CMakeLists.txt 2011-05-08 13:28:04.000000000 -0500 +++ ./Components/Property/CMakeLists.txt 2011-08-05 16:15:41.000000000 -0500 @@ -47,7 +47,7 @@ # Set the INSTALL_PATH so that Components can be installed in the application package set_target_properties(OgreProperty PROPERTIES BUILD_WITH_INSTALL_RPATH 1 - INSTALL_NAME_DIR "@executable_path/../Components" + INSTALL_NAME_DIR "@@PREFIX@@/lib/" ) # Copy headers into the main Ogre framework diff -rubw ../ogre_src_v1-7-3.orig/Components/RTShaderSystem/CMakeLists.txt ./Components/RTShaderSystem/CMakeLists.txt --- ../ogre_src_v1-7-3.orig/Components/RTShaderSystem/CMakeLists.txt 2011-05-08 13:28:04.000000000 -0500 +++ ./Components/RTShaderSystem/CMakeLists.txt 2011-08-05 16:15:41.000000000 -0500 @@ -90,7 +90,7 @@ # Set the INSTALL_PATH so that Components can be installed in the application package set_target_properties(OgreRTShaderSystem PROPERTIES BUILD_WITH_INSTALL_RPATH 1 - INSTALL_NAME_DIR "@executable_path/../Components" + INSTALL_NAME_DIR "@@PREFIX@@/lib/" ) # Copy headers into the main Ogre framework diff -rubw ../ogre_src_v1-7-3.orig/Components/Terrain/CMakeLists.txt ./Components/Terrain/CMakeLists.txt --- ../ogre_src_v1-7-3.orig/Components/Terrain/CMakeLists.txt 2011-05-08 13:28:04.000000000 -0500 +++ ./Components/Terrain/CMakeLists.txt 2011-08-05 16:15:41.000000000 -0500 @@ -72,7 +72,7 @@ # Set the INSTALL_PATH so that Components can be installed in the application package set_target_properties(OgreTerrain PROPERTIES BUILD_WITH_INSTALL_RPATH 1 - INSTALL_NAME_DIR "@executable_path/../Components" + INSTALL_NAME_DIR "@@PREFIX@@/lib/" ) # Copy headers into the main Ogre framework diff -rubw ../ogre_src_v1-7-3.orig/OgreMain/CMakeLists.txt ./OgreMain/CMakeLists.txt --- ../ogre_src_v1-7-3.orig/OgreMain/CMakeLists.txt 2011-05-08 13:28:04.000000000 -0500 +++ ./OgreMain/CMakeLists.txt 2011-08-05 16:16:04.000000000 -0500 @@ -661,7 +661,7 @@ # Set the INSTALL_PATH so that Frameworks can be local set_target_properties(OgreMain PROPERTIES BUILD_WITH_INSTALL_RPATH 1 - INSTALL_NAME_DIR "@executable_path/../Frameworks" + INSTALL_NAME_DIR "@@PREFIX@@/lib/" ) set_target_properties(OgreMain PROPERTIES PUBLIC_HEADER "${HEADER_FILES}") set_target_properties(OgreMain PROPERTIES RESOURCE "${RESOURCE_FILES}") diff -rubw ../ogre_src_v1-7-3.orig/PlugIns/BSPSceneManager/CMakeLists.txt ./PlugIns/BSPSceneManager/CMakeLists.txt --- ../ogre_src_v1-7-3.orig/PlugIns/BSPSceneManager/CMakeLists.txt 2011-05-08 13:28:04.000000000 -0500 +++ ./PlugIns/BSPSceneManager/CMakeLists.txt 2011-08-05 16:18:11.000000000 -0500 @@ -51,7 +51,7 @@ # Set the INSTALL_PATH so that Plugins can be installed in the application package set_target_properties(Plugin_BSPSceneManager PROPERTIES BUILD_WITH_INSTALL_RPATH 1 - INSTALL_NAME_DIR "@executable_path/../Plugins" + INSTALL_NAME_DIR "@@PREFIX@@/lib/OGRE" ) # Copy headers into the main Ogre framework diff -rubw ../ogre_src_v1-7-3.orig/PlugIns/CgProgramManager/CMakeLists.txt ./PlugIns/CgProgramManager/CMakeLists.txt --- ../ogre_src_v1-7-3.orig/PlugIns/CgProgramManager/CMakeLists.txt 2011-05-08 13:28:04.000000000 -0500 +++ ./PlugIns/CgProgramManager/CMakeLists.txt 2011-08-05 16:18:11.000000000 -0500 @@ -40,7 +40,7 @@ # Set the INSTALL_PATH so that Plugins can be installed in the application package set_target_properties(Plugin_CgProgramManager PROPERTIES BUILD_WITH_INSTALL_RPATH 1 - INSTALL_NAME_DIR "@executable_path/../Plugins" + INSTALL_NAME_DIR "@@PREFIX@@/lib/OGRE" ) # Copy headers into the main Ogre framework diff -rubw ../ogre_src_v1-7-3.orig/PlugIns/OctreeSceneManager/CMakeLists.txt ./PlugIns/OctreeSceneManager/CMakeLists.txt --- ../ogre_src_v1-7-3.orig/PlugIns/OctreeSceneManager/CMakeLists.txt 2011-05-08 13:28:04.000000000 -0500 +++ ./PlugIns/OctreeSceneManager/CMakeLists.txt 2011-08-05 16:18:11.000000000 -0500 @@ -56,7 +56,7 @@ # Set the INSTALL_PATH so that Plugins can be installed in the application package set_target_properties(Plugin_OctreeSceneManager PROPERTIES BUILD_WITH_INSTALL_RPATH 1 - INSTALL_NAME_DIR "@executable_path/../Plugins" + INSTALL_NAME_DIR "@@PREFIX@@/lib/OGRE" ) # Copy headers into the main Ogre framework diff -rubw ../ogre_src_v1-7-3.orig/PlugIns/OctreeZone/CMakeLists.txt ./PlugIns/OctreeZone/CMakeLists.txt --- ../ogre_src_v1-7-3.orig/PlugIns/OctreeZone/CMakeLists.txt 2011-05-08 13:28:04.000000000 -0500 +++ ./PlugIns/OctreeZone/CMakeLists.txt 2011-08-05 16:18:11.000000000 -0500 @@ -59,7 +59,7 @@ # Set the INSTALL_PATH so that Plugins can be installed in the application package set_target_properties(Plugin_OctreeZone PROPERTIES BUILD_WITH_INSTALL_RPATH 1 - INSTALL_NAME_DIR "@executable_path/../Plugins" + INSTALL_NAME_DIR "@@PREFIX@@/lib/OGRE" ) # Copy headers into the main Ogre framework diff -rubw ../ogre_src_v1-7-3.orig/PlugIns/PCZSceneManager/CMakeLists.txt ./PlugIns/PCZSceneManager/CMakeLists.txt --- ../ogre_src_v1-7-3.orig/PlugIns/PCZSceneManager/CMakeLists.txt 2011-05-08 13:28:04.000000000 -0500 +++ ./PlugIns/PCZSceneManager/CMakeLists.txt 2011-08-05 16:18:11.000000000 -0500 @@ -64,7 +64,7 @@ # Set the INSTALL_PATH so that Plugins can be installed in the application package set_target_properties(Plugin_PCZSceneManager PROPERTIES BUILD_WITH_INSTALL_RPATH 1 - INSTALL_NAME_DIR "@executable_path/../Plugins" + INSTALL_NAME_DIR "@@PREFIX@@/lib/OGRE" ) # Copy headers into the main Ogre framework diff -rubw ../ogre_src_v1-7-3.orig/PlugIns/ParticleFX/CMakeLists.txt ./PlugIns/ParticleFX/CMakeLists.txt --- ../ogre_src_v1-7-3.orig/PlugIns/ParticleFX/CMakeLists.txt 2011-05-08 13:28:04.000000000 -0500 +++ ./PlugIns/ParticleFX/CMakeLists.txt 2011-08-05 16:18:11.000000000 -0500 @@ -82,7 +82,7 @@ # Set the INSTALL_PATH so that Plugins can be installed in the application package set_target_properties(Plugin_ParticleFX PROPERTIES BUILD_WITH_INSTALL_RPATH 1 - INSTALL_NAME_DIR "@executable_path/../Plugins" + INSTALL_NAME_DIR "@@PREFIX@@/lib/OGRE" ) # Copy headers into the main Ogre framework diff -rubw ../ogre_src_v1-7-3.orig/RenderSystems/GL/CMakeLists.txt ./RenderSystems/GL/CMakeLists.txt --- ../ogre_src_v1-7-3.orig/RenderSystems/GL/CMakeLists.txt 2011-05-08 13:28:04.000000000 -0500 +++ ./RenderSystems/GL/CMakeLists.txt 2011-08-05 16:18:11.000000000 -0500 @@ -233,7 +233,7 @@ # Set the INSTALL_PATH so that Plugins can be installed in the application package set_target_properties(RenderSystem_GL PROPERTIES BUILD_WITH_INSTALL_RPATH 1 - INSTALL_NAME_DIR "@executable_path/../Plugins" + INSTALL_NAME_DIR "@@PREFIX@@/lib/OGRE" ) endif()