mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-12-04 20:38:59 +08:00
90b5fb836c
* [daw=json-link] update to 3.7.1 and [daw-header-libraries] update to 2.75.0 * update version
19 lines
741 B
CMake
19 lines
741 B
CMake
# Header-only library
|
|
vcpkg_from_github(
|
|
OUT_SOURCE_PATH SOURCE_PATH
|
|
REPO beached/header_libraries
|
|
REF 93155b3424906a380324df75148e9dcfee6ace78 #v2.75.0
|
|
SHA512 c3924219f71611a90577850ab544d2555d642aff886a8d2b20192a4da222dc1c93acfcb9b0f13026ad6058c9d4ae523ea052ee1f75bd5a6546c1ff572e0b1bad
|
|
HEAD_REF master
|
|
)
|
|
|
|
vcpkg_cmake_configure(SOURCE_PATH "${SOURCE_PATH}")
|
|
|
|
vcpkg_cmake_install()
|
|
vcpkg_cmake_config_fixup(CONFIG_PATH lib/cmake/${PORT})
|
|
|
|
# remove empty lib and debug/lib directories (and duplicate files from debug/include)
|
|
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug" "${CURRENT_PACKAGES_DIR}/lib")
|
|
|
|
file(INSTALL "${SOURCE_PATH}/LICENSE.md" DESTINATION "${CURRENT_PACKAGES_DIR}/share/${PORT}" RENAME copyright)
|