mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-11-28 21:29:02 +08:00
84d9d9bc40
* use pkgconf * version stuff * Update ports/vcpkg-pkgconfig-get-modules/x_vcpkg_pkgconfig_get_modules.cmake Co-authored-by: Robert Schumacher <roschuma@microsoft.com> * version stuff * fix obviuos error * bit of version playaround * version stuff Co-authored-by: PhoebeHui <20694052+PhoebeHui@users.noreply.github.com> Co-authored-by: Robert Schumacher <roschuma@microsoft.com>
14 lines
600 B
CMake
14 lines
600 B
CMake
if(NOT TARGET_TRIPLET STREQUAL HOST_TRIPLET)
|
|
# make FATAL_ERROR in CI when issue #16773 fixed
|
|
message(WARNING "vcpkg-pkgconfig-get-modules is a host-only port; please mark it as a host port in your dependencies.")
|
|
endif()
|
|
|
|
file(COPY
|
|
"${CMAKE_CURRENT_LIST_DIR}/vcpkg-port-config.cmake"
|
|
"${CMAKE_CURRENT_LIST_DIR}/copyright"
|
|
DESTINATION "${CURRENT_PACKAGES_DIR}/share/${PORT}")
|
|
|
|
configure_file("${CMAKE_CURRENT_LIST_DIR}/x_vcpkg_pkgconfig_get_modules.cmake" "${CURRENT_PACKAGES_DIR}/share/${PORT}/x_vcpkg_pkgconfig_get_modules.cmake" @ONLY)
|
|
|
|
set(VCPKG_POLICY_EMPTY_PACKAGE enabled)
|