diff options
Diffstat (limited to 'ports/log4cpp/fix-export-targets.patch')
| -rw-r--r-- | ports/log4cpp/fix-export-targets.patch | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/ports/log4cpp/fix-export-targets.patch b/ports/log4cpp/fix-export-targets.patch new file mode 100644 index 000000000..30b5320cd --- /dev/null +++ b/ports/log4cpp/fix-export-targets.patch @@ -0,0 +1,18 @@ +diff --git a/CMakeLists.txt b/CMakeLists.txt +index 19767a0..59dbf6c 100644 +--- a/CMakeLists.txt ++++ b/CMakeLists.txt +@@ -161,11 +161,13 @@ INSTALL ( + ) + + INSTALL(TARGETS ${LOG4CPP_LIBRARY_NAME} ++ EXPORT log4cpp-targets + LIBRARY DESTINATION lib + ARCHIVE DESTINATION lib + RUNTIME DESTINATION bin) + + INSTALL(FILES package.xml DESTINATION share/log4cpp) ++INSTALL(EXPORT log4cpp-targets NAMESPACE log4cpp:: DESTINATION share/log4cpp) + + ########################################################### + # DOCUMENTATION |
