mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-12-05 07:59:01 +08:00
5304f826b5
* [rollup:2021-07-26 1/6] PR #18783 (@strega-nil) [scripts-audit] vcpkg_copy_tools and friends * [rollup:2021-07-26 2/6] PR #18898 (@dg0yt) [vcpkg] Fix toolchain compatibility with cmake < 3.15 * [rollup:2021-07-26 3/6] PR #18980 (@strega-nil) [cmake-guidelines] Minor update, for `if()` * [rollup:2021-07-26 4/6] PR #18981 (@strega-nil) [scripts-audit] vcpkg_check_linkage * [rollup:2021-07-26 5/6] PR #19158 (@Hoikas) [vcpkg.cmake] Fix variable case. * [rollup:2021-07-26 6/6] PR #18839 [scripts-audit] z_vcpkg_get_cmake_vars Co-authored-by: nicole mazzuca <mazzucan@outlook.com>
17 lines
705 B
CMake
17 lines
705 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_cmake_get_vars.cmake"
|
|
"${CMAKE_CURRENT_LIST_DIR}/cmake_get_vars"
|
|
"${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)
|