2021-11-30 03:42:39 +08:00
|
|
|
set(VCPKG_POLICY_EMPTY_PACKAGE enabled)
|
|
|
|
|
|
|
|
if(NOT TARGET_TRIPLET STREQUAL _HOST_TRIPLET)
|
|
|
|
message(FATAL_ERROR "vcpkg-gn is a host-only port; please mark it as a host port in your dependencies.")
|
|
|
|
endif()
|
|
|
|
|
|
|
|
file(INSTALL
|
2023-01-27 10:53:54 +08:00
|
|
|
"${CMAKE_CURRENT_LIST_DIR}/vcpkg-port-config.cmake"
|
2021-11-30 03:42:39 +08:00
|
|
|
"${CMAKE_CURRENT_LIST_DIR}/vcpkg_gn_configure.cmake"
|
|
|
|
"${CMAKE_CURRENT_LIST_DIR}/vcpkg_gn_install.cmake"
|
2023-01-27 10:53:54 +08:00
|
|
|
"${CMAKE_CURRENT_LIST_DIR}/z_vcpkg_gn_fixup_path.cmake"
|
2021-11-30 03:42:39 +08:00
|
|
|
DESTINATION "${CURRENT_PACKAGES_DIR}/share/${PORT}")
|