2022-02-04 10:47:41 +08:00
|
|
|
vcpkg_from_github(
|
|
|
|
OUT_SOURCE_PATH SOURCE_PATH
|
2023-08-04 01:26:49 +08:00
|
|
|
REPO offscale/c89stringutils
|
|
|
|
REF "${VERSION}"
|
|
|
|
SHA512 82edb341d5566c42eaffcd5c87d4fbd82a4e47b9c31a8533b08d28b9e1311ced281b59b3b6103e274355a82117095fcff1cb5f9c29eecc9563dc3cd962a37773
|
|
|
|
HEAD_REF master
|
2022-08-16 02:33:02 +08:00
|
|
|
PATCHES
|
|
|
|
no_flags.patch
|
2022-02-04 10:47:41 +08:00
|
|
|
)
|
|
|
|
|
|
|
|
vcpkg_cmake_configure(
|
|
|
|
SOURCE_PATH "${SOURCE_PATH}"
|
|
|
|
OPTIONS
|
2023-08-04 01:26:49 +08:00
|
|
|
-DBUILD_TESTING=OFF
|
2022-02-04 10:47:41 +08:00
|
|
|
)
|
|
|
|
vcpkg_cmake_install()
|
2023-08-04 01:26:49 +08:00
|
|
|
vcpkg_cmake_config_fixup()
|
|
|
|
vcpkg_copy_pdbs()
|
|
|
|
|
|
|
|
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/include")
|
|
|
|
|
|
|
|
file(INSTALL "${CMAKE_CURRENT_LIST_DIR}/usage" DESTINATION "${CURRENT_PACKAGES_DIR}/share/${PORT}")
|
|
|
|
vcpkg_install_copyright(FILE_LIST "${SOURCE_PATH}/LICENSE-APACHE" "${SOURCE_PATH}/LICENSE-MIT")
|