2021-03-01 05:17:19 +08:00
|
|
|
if(NOT TARGET_TRIPLET STREQUAL _HOST_TRIPLET)
|
2021-03-19 06:06:03 +08:00
|
|
|
# make FATAL_ERROR in CI when issue #16773 fixed
|
|
|
|
message(WARNING "vcpkg-cmake is a host-only port; please mark it as a host port in your dependencies.")
|
2021-03-01 05:17:19 +08:00
|
|
|
endif()
|
|
|
|
|
|
|
|
file(INSTALL
|
|
|
|
"${CMAKE_CURRENT_LIST_DIR}/vcpkg_cmake_configure.cmake"
|
|
|
|
"${CMAKE_CURRENT_LIST_DIR}/vcpkg_cmake_build.cmake"
|
|
|
|
"${CMAKE_CURRENT_LIST_DIR}/vcpkg_cmake_install.cmake"
|
2021-07-30 00:47:35 +08:00
|
|
|
"${CMAKE_CURRENT_LIST_DIR}/vcpkg_cmake_get_vars.cmake"
|
|
|
|
"${CMAKE_CURRENT_LIST_DIR}/cmake_get_vars"
|
2021-03-01 05:17:19 +08:00
|
|
|
"${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)
|