diff --git a/build/vcpkg/apr-2/portfile.cmake b/build/vcpkg/apr-2/portfile.cmake index 91d11d8aac..3ab1216c83 100644 --- a/build/vcpkg/apr-2/portfile.cmake +++ b/build/vcpkg/apr-2/portfile.cmake @@ -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() diff --git a/build/vcpkg/apr-2/vcpkg.json b/build/vcpkg/apr-2/vcpkg.json index 4e96c99564..2db475c163 100644 --- a/build/vcpkg/apr-2/vcpkg.json +++ b/build/vcpkg/apr-2/vcpkg.json @@ -11,6 +11,10 @@ "name": "vcpkg-cmake", "host": true, "platform": "windows" + }, + { + "name": "vcpkg-cmake-config", + "host": true } ], "features": {