mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-12-12 07:10:12 +08:00
95c0444591
* add vcpkg-msbuild * v db * Apply some suggestions from code review * revert v db and format manifest * v db * fix missing rename * v db * revert back to USE_MSVC_SYNTAX_ON_WINDOWS * v db * Fix logic * v db * Update versions/v-/vcpkg-msbuild.json * Apply suggestions from code review Co-authored-by: Javier Matos Denizac <javier.matosd@gmail.com> * remove include destination since it wasn't used any way * v db --------- Co-authored-by: Jonliu1993 <13720414433@163.com> Co-authored-by: Javier Matos Denizac <javier.matosd@gmail.com>
15 lines
674 B
CMake
15 lines
674 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"
|
|
DESTINATION "${CURRENT_PACKAGES_DIR}/share/${PORT}")
|
|
|
|
file(INSTALL "${VCPKG_ROOT_DIR}/LICENSE.txt" DESTINATION "${CURRENT_PACKAGES_DIR}/share/${PORT}" RENAME copyright)
|
|
|
|
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)
|