--- 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)