mirror of
https://github.com/Stichting-MINIX-Research-Foundation/pkgsrc-ng.git
synced 2025-09-15 15:31:43 -04:00
16 lines
730 B
Plaintext
16 lines
730 B
Plaintext
$NetBSD: patch-apps_createsamples_CMakeLists.txt,v 1.1 2016/02/08 02:04:18 dbj Exp $
|
|
|
|
Fix library id handling on Darwin
|
|
|
|
--- apps/createsamples/CMakeLists.txt.orig 2015-06-03 17:21:34.000000000 +0000
|
|
+++ apps/createsamples/CMakeLists.txt
|
|
@@ -23,7 +23,7 @@ set_target_properties(${the_target} PROP
|
|
DEBUG_POSTFIX "${OPENCV_DEBUG_POSTFIX}"
|
|
ARCHIVE_OUTPUT_DIRECTORY ${LIBRARY_OUTPUT_PATH}
|
|
RUNTIME_OUTPUT_DIRECTORY ${EXECUTABLE_OUTPUT_PATH}
|
|
- INSTALL_NAME_DIR lib
|
|
+ INSTALL_NAME_DIR ${CMAKE_INSTALL_PREFIX}/${OPENCV_LIB_INSTALL_PATH}
|
|
OUTPUT_NAME "opencv_createsamples")
|
|
|
|
if(ENABLE_SOLUTION_FOLDERS)
|