mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-11-26 01:39:07 +08:00
bae8f8c7d8
* move vcpkg-cmake-get-vars to its own helper port * manifest format * version stuff * doc and version stuff * add missing include * version bump * remove coypright copying. * version stuff Co-authored-by: Alexander Neumann <you@example.com>
15 lines
597 B
CMake
15 lines
597 B
CMake
if(VCPKG_CROSSCOMPILING)
|
|
# make FATAL_ERROR in CI when issue #16773 fixed
|
|
message(WARNING "vcpkg-cmake-get-vars is a host-only port; please mark it as a host port in your dependencies.")
|
|
endif()
|
|
|
|
file(INSTALL
|
|
"${CMAKE_CURRENT_LIST_DIR}/vcpkg_cmake_get_vars.cmake"
|
|
"${CMAKE_CURRENT_LIST_DIR}/cmake_get_vars"
|
|
"${CMAKE_CURRENT_LIST_DIR}/vcpkg-port-config.cmake"
|
|
DESTINATION "${CURRENT_PACKAGES_DIR}/share/${PORT}")
|
|
|
|
file(INSTALL "${VCPKG_ROOT_DIR}/LICENSE.txt" DESTINATION "${CURRENT_PACKAGES_DIR}/share/${PORT}" RENAME copyright)
|
|
set(VCPKG_POLICY_CMAKE_HELPER_PORT enabled)
|
|
|