opnsense-ports/devel/leatherman/files/patch-cmake_leatherman.cmake.in
Franco Fichtner 0e7dc48a70 */*: sync with upstream
Taken from: HardenedBSD
2017-08-28 02:10:32 +02:00

14 lines
483 B
CMake

--- cmake/leatherman.cmake.in.orig 2017-08-25 18:32:21 UTC
+++ cmake/leatherman.cmake.in
@@ -83,11 +83,6 @@ macro(leatherman_install)
RUNTIME DESTINATION bin
LIBRARY DESTINATION lib${LIB_SUFFIX}
ARCHIVE DESTINATION lib${LIB_SUFFIX})
- foreach(ARG ${ARGV})
- if (TARGET ${ARG})
- set_target_properties(${ARG} PROPERTIES PREFIX "" IMPORT_PREFIX "")
- endif()
- endforeach()
endmacro()
# Usage: add_cppcheck_dirs(dir1 dir2)