Kai Pastor 04b0cf2b3f
[vcpkg-pkgconfig-get-modules] Turn into proper helper port (#37939)
I wonder if LIBRARIES_DIRS should return a list of directories instead
of a list of `-L...` flags.

---------

Co-authored-by: Javier Matos <javiermatos@Javiers-Laptop.lan>
Co-authored-by: Monica <liuyumei01@beyondsoft.com>
2024-05-01 19:51:16 -07:00

9 lines
292 B
CMake

set(VCPKG_POLICY_CMAKE_HELPER_PORT enabled)
file(COPY
"${CURRENT_PORT_DIR}/vcpkg-port-config.cmake"
"${CURRENT_PORT_DIR}/x_vcpkg_pkgconfig_get_modules.cmake"
DESTINATION "${CURRENT_PACKAGES_DIR}/share/${PORT}")
vcpkg_install_copyright(FILE_LIST "${VCPKG_ROOT_DIR}/LICENSE.txt")