diff options
Diffstat (limited to 'ports/log4cpp/portfile.cmake')
| -rw-r--r-- | ports/log4cpp/portfile.cmake | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/ports/log4cpp/portfile.cmake b/ports/log4cpp/portfile.cmake index e8de2c0e3..9c9bc600e 100644 --- a/ports/log4cpp/portfile.cmake +++ b/ports/log4cpp/portfile.cmake @@ -10,6 +10,7 @@ vcpkg_from_github( fix-install-targets.patch Fix-StaticSupport.patch fix-includepath.patch + fix-export-targets.patch ) vcpkg_configure_cmake( @@ -21,9 +22,16 @@ vcpkg_install_cmake() file(REMOVE_RECURSE ${CURRENT_PACKAGES_DIR}/debug/include) vcpkg_fixup_cmake_targets(CONFIG_PATH lib/pkgconfig TARGET_PATH share/${PORT}) +vcpkg_fixup_cmake_targets(CONFIG_PATH share/${PORT}) file(REMOVE_RECURSE ${CURRENT_PACKAGES_DIR}/debug/share) vcpkg_copy_pdbs() +configure_file( + ${CMAKE_CURRENT_LIST_DIR}/log4cpp-config.in.cmake + ${CURRENT_PACKAGES_DIR}/share/${PORT}/log4cpp-config.cmake + @ONLY +) + # Handle copyright file(INSTALL ${SOURCE_PATH}/COPYING DESTINATION ${CURRENT_PACKAGES_DIR}/share/${PORT} RENAME copyright) |
