mirror of
https://github.com/microsoft/vcpkg.git
synced 2025-01-13 07:28:07 +08:00
14 lines
550 B
CMake
14 lines
550 B
CMake
|
if(NOT TARGET_TRIPLET STREQUAL _HOST_TRIPLET)
|
||
|
message(FATAL_ERROR "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)
|