mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-11-30 14:59:03 +08:00
c8f6537b80
* remove host-only nature of vcpkg-cmake-* ports * versions * fix fmt on uwp
15 lines
599 B
CMake
15 lines
599 B
CMake
if(NOT TARGET_TRIPLET STREQUAL _HOST_TRIPLET)
|
|
# 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.")
|
|
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"
|
|
"${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)
|