freebsd-ports/devel/leatherman/files/patch-cmake_leatherman.cmake.in
Romain Tartière 0d3123d54e Update to 1.1.2
ChangeLog:
https://github.com/puppetlabs/leatherman/blob/master/CHANGELOG.md#112

While here, add a workaround that prevented `make test` do succeed on some
environments. Regenerate all patches via `make makepatch`.

With hat:	puppet
2017-08-27 19:23:44 +00: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)