mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-11-30 02:31:08 +08:00
0257395b0f
* vcpkg dpp port built from our CI * fix missing dependency * update * Update Sun Jul 24 11:26:12 UTC 2022 * exclude uwp for dpp * Update Sun Jul 24 13:21:45 UTC 2022 * fix supports * fix supports * Update Sun Jul 24 14:14:29 UTC 2022 * Update Sun Jul 24 15:36:39 UTC 2022 * Update Mon Jul 25 12:04:56 UTC 2022 * * Add https:// to the homepage so that it is a valid URI. * Added usage. * Forced pkgconfig to be required rather than quiet. * Changed tabs to spaces in portfile.cmake. Co-authored-by: Billy O'Neal <bion@microsoft.com>
33 lines
959 B
CMake
33 lines
959 B
CMake
vcpkg_from_github(
|
|
OUT_SOURCE_PATH SOURCE_PATH
|
|
REPO brainboxdotcc/DPP
|
|
REF d9eb0083c7d4f3bb188ac4fde12f3af9a4443696
|
|
SHA512 5b6514a1152d566bba8959f2e51284142d57eec086e634a2b33a08186ee5cb5800a6244d92b9c8e367b60a542ed75b4401f4d68b510f16226633b958aa4aeefa
|
|
HEAD_REF master
|
|
PATCHES
|
|
make-pkgconfig-required.patch
|
|
)
|
|
|
|
vcpkg_cmake_configure(
|
|
SOURCE_PATH "${SOURCE_PATH}"
|
|
)
|
|
|
|
vcpkg_cmake_install()
|
|
|
|
vcpkg_cmake_config_fixup(NO_PREFIX_CORRECTION)
|
|
|
|
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/share/dpp")
|
|
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/include")
|
|
|
|
if(VCPKG_LIBRARY_LINKAGE STREQUAL "static")
|
|
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/bin" "${CURRENT_PACKAGES_DIR}/debug/bin")
|
|
endif()
|
|
|
|
file(
|
|
INSTALL "${SOURCE_PATH}/LICENSE"
|
|
DESTINATION "${CURRENT_PACKAGES_DIR}/share/${PORT}"
|
|
RENAME copyright
|
|
)
|
|
|
|
file(COPY "${CMAKE_CURRENT_LIST_DIR}/usage" DESTINATION "${CURRENT_PACKAGES_DIR}/share/${PORT}")
|