Commit 017d533c authored by Rashad Kanavath's avatar Rashad Kanavath
Browse files

SuperBuild: OpenCV: patch to remove install_name_dir in target_properties

parent 6e2090cc
......@@ -76,7 +76,9 @@ else()
CMAKE_COMMAND ${SB_CMAKE_COMMAND}
)
FIX_RPATH_FOR_AUTOCONF_BUILD(OPENCV "libopencv_*.dylib")
if(APPLE)
SUPERBUILD_PATCH_SOURCE(OPENCV "patch-for-at-rpath")
endif()
set(_SB_OpenCV_DIR ${SB_INSTALL_PREFIX}/share/OpenCV)
endif()
......
diff -burN opencv-2.4.11.orig/cmake/OpenCVModule.cmake opencv-2.4.11/cmake/OpenCVModule.cmake
--- opencv-2.4.11.orig/cmake/OpenCVModule.cmake 2016-04-19 12:20:03.000000000 +0200
+++ opencv-2.4.11/cmake/OpenCVModule.cmake 2016-04-19 12:21:06.000000000 +0200
@@ -589,7 +589,6 @@
ARCHIVE_OUTPUT_DIRECTORY ${LIBRARY_OUTPUT_PATH}
LIBRARY_OUTPUT_DIRECTORY ${LIBRARY_OUTPUT_PATH}
RUNTIME_OUTPUT_DIRECTORY ${EXECUTABLE_OUTPUT_PATH}
- INSTALL_NAME_DIR lib
)
# For dynamic link numbering convenions
Markdown is supported
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