Skip to content

Commit

Permalink
vcpkg: Call vcpkg_cmake_config_fixup().
Browse files Browse the repository at this point in the history
git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@1917166 13f79535-47bb-0310-9956-ffa450edef68
  • Loading branch information
Ivan Zhakov committed Apr 19, 2024
1 parent 742ac22 commit 64a8596
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
4 changes: 4 additions & 0 deletions build/vcpkg/apr-2/portfile.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,10 @@ if (VCPKG_TARGET_IS_WINDOWS)

vcpkg_cmake_install()
vcpkg_copy_pdbs()
vcpkg_cmake_config_fixup(PACKAGE_NAME "apr"
CONFIG_PATH "lib/cmake/apr")

file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/share")
else()
# In development
endif()
Expand Down
4 changes: 4 additions & 0 deletions build/vcpkg/apr-2/vcpkg.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,10 @@
"name": "vcpkg-cmake",
"host": true,
"platform": "windows"
},
{
"name": "vcpkg-cmake-config",
"host": true
}
],
"features": {
Expand Down

0 comments on commit 64a8596

Please sign in to comment.