diff options
| author | Ethan Morgan <ethan@gweithio.com> | 2026-02-14 16:44:06 +0000 |
|---|---|---|
| committer | Ethan Morgan <ethan@gweithio.com> | 2026-02-14 16:44:06 +0000 |
| commit | 54409423f767d8b1cf30cb7d0efca6b4ca138823 (patch) | |
| tree | d915ac7828703ce4b963efdd9728a1777ba18c1e /vcpkg/ports/vcpkg-cmake-config/portfile.cmake | |
Diffstat (limited to 'vcpkg/ports/vcpkg-cmake-config/portfile.cmake')
| -rw-r--r-- | vcpkg/ports/vcpkg-cmake-config/portfile.cmake | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/vcpkg/ports/vcpkg-cmake-config/portfile.cmake b/vcpkg/ports/vcpkg-cmake-config/portfile.cmake new file mode 100644 index 0000000..fc3dbaf --- /dev/null +++ b/vcpkg/ports/vcpkg-cmake-config/portfile.cmake @@ -0,0 +1,12 @@ +if(NOT TARGET_TRIPLET STREQUAL _HOST_TRIPLET) + # make FATAL_ERROR in CI when issue #16773 fixed + message(WARNING "vcpkg-cmake-config is a host-only port; please mark it as a host port in your dependencies.") +endif() + +file(INSTALL + "${CMAKE_CURRENT_LIST_DIR}/vcpkg_cmake_config_fixup.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) |