Commit ac4498d4 authored by Rashad Kanavath's avatar Rashad Kanavath
Browse files

SuperBuild: update patch to fix rpath issue

parent 51a14032
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 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.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 +++ ossim-1.8.20-3/ossim_package_support/cmake/CMakeModules/OssimUtilities.cmake 2016-04-20 09:15:13.000000000 +0200
@@ -266,18 +266,12 @@ @@ -275,9 +275,7 @@
ENDIF(LINK_ADDITIONAL_COMPILE_FLAGS) INSTALL_NAME_DIR @rpath/Frameworks)
if(APPLE) ELSE(BUILD_OSSIM_FRAMEWORKS)
IF(BUILD_SHARED_LIBS) SET_TARGET_PROPERTIES(${LINK_NAME} PROPERTIES
-# SET(CMAKE_BUILD_WITH_INSTALL_RPATH TRUE) - FRAMEWORK FALSE
-# SET(CMAKE_INSTALL_RPATH "${OSSIM_COMPILE_FRAMEWORKS_INSTALL_NAME_DIR}") - BUILD_WITH_INSTALL_RPATH ON
IF(BUILD_OSSIM_FRAMEWORKS) - INSTALL_NAME_DIR @rpath/lib)
SET_TARGET_PROPERTIES(${LINK_NAME} PROPERTIES + FRAMEWORK FALSE)
- FRAMEWORK TRUE ENDIF(BUILD_OSSIM_FRAMEWORKS)
- BUILD_WITH_INSTALL_RPATH ON ELSE(BUILD_SHARED_LIBRARY)
- INSTALL_NAME_DIR @rpath/Frameworks) SET_TARGET_PROPERTIES(${LINK_NAME} PROPERTIES
+ 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
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment