Skip to content
Snippets Groups Projects
Commit ac4498d4 authored by Rashad Kanavath's avatar Rashad Kanavath
Browse files

SuperBuild: update patch to fix rpath issue

parent 51a14032
No related branches found
No related tags found
No related merge requests found
diff -burN ossim-1.8.20-3.orig/ossim_package_support/cmake/CMakeModules/OssimUtilities.cmake ossim-1.8.20-3/ossim_package_support/cmake/CMakeModules/OssimUtilities.cmake
--- ossim-1.8.20-3.orig/ossim_package_support/cmake/CMakeModules/OssimUtilities.cmake 2016-04-19 12:30:00.000000000 +0200
+++ ossim-1.8.20-3/ossim_package_support/cmake/CMakeModules/OssimUtilities.cmake 2016-04-19 12:31:33.000000000 +0200
@@ -266,18 +266,12 @@
ENDIF(LINK_ADDITIONAL_COMPILE_FLAGS)
if(APPLE)
IF(BUILD_SHARED_LIBS)
-# SET(CMAKE_BUILD_WITH_INSTALL_RPATH TRUE)
-# SET(CMAKE_INSTALL_RPATH "${OSSIM_COMPILE_FRAMEWORKS_INSTALL_NAME_DIR}")
IF(BUILD_OSSIM_FRAMEWORKS)
SET_TARGET_PROPERTIES(${LINK_NAME} PROPERTIES
- FRAMEWORK TRUE
- BUILD_WITH_INSTALL_RPATH ON
- INSTALL_NAME_DIR @rpath/Frameworks)
+ FRAMEWORK TRUE)
ELSE(BUILD_OSSIM_FRAMEWORKS)
SET_TARGET_PROPERTIES(${LINK_NAME} PROPERTIES
- FRAMEWORK FALSE
- BUILD_WITH_INSTALL_RPATH ON
- INSTALL_NAME_DIR @rpath/lib)
+ FRAMEWORK FALSE)
ENDIF(BUILD_OSSIM_FRAMEWORKS)
ELSE(BUILD_SHARED_LIBRARY)
SET_TARGET_PROPERTIES(${LINK_NAME} PROPERTIES
+++ ossim-1.8.20-3/ossim_package_support/cmake/CMakeModules/OssimUtilities.cmake 2016-04-20 09:15:13.000000000 +0200
@@ -275,9 +275,7 @@
INSTALL_NAME_DIR @rpath/Frameworks)
ELSE(BUILD_OSSIM_FRAMEWORKS)
SET_TARGET_PROPERTIES(${LINK_NAME} PROPERTIES
- FRAMEWORK FALSE
- BUILD_WITH_INSTALL_RPATH ON
- INSTALL_NAME_DIR @rpath/lib)
+ FRAMEWORK FALSE)
ENDIF(BUILD_OSSIM_FRAMEWORKS)
ELSE(BUILD_SHARED_LIBRARY)
SET_TARGET_PROPERTIES(${LINK_NAME} PROPERTIES
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment