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
# 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
# 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
# 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
# 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
# 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
# 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
# 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
# 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