aboutsummaryrefslogtreecommitdiff
path: root/ports/vcpkg-pkgconfig-get-modules/portfile.cmake
blob: 18df919b49f362398cd8b8690c656fb0bb2d99e3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
if(NOT TARGET_TRIPLET STREQUAL HOST_TRIPLET)
    # make FATAL_ERROR in CI when issue #16773 fixed
    message(WARNING "vcpkg-pkgconfig-get-modules is a host-only port; please mark it as a host port in your dependencies.")
endif()

file(COPY
    "${CMAKE_CURRENT_LIST_DIR}/x_vcpkg_pkgconfig_get_modules.cmake"
    "${CMAKE_CURRENT_LIST_DIR}/vcpkg-port-config.cmake"
    "${CMAKE_CURRENT_LIST_DIR}/copyright"
    DESTINATION "${CURRENT_PACKAGES_DIR}/share/${PORT}")

set(VCPKG_POLICY_EMPTY_PACKAGE enabled)