2022-04-29 20:44:17 +02:00
|
|
|
# Header-only library
|
2021-06-03 22:11:37 +02:00
|
|
|
vcpkg_from_github(
|
|
|
|
OUT_SOURCE_PATH SOURCE_PATH
|
|
|
|
REPO daniele77/aricpp
|
2022-04-29 20:44:17 +02:00
|
|
|
REF v1.1.2
|
|
|
|
SHA512 bf325de240cdc9c567524cdc127c256d1ac783e785779117374f1d2a5fd4f352545e87f3d1556c2a24e47a203b55bc581a92fb20426295f5f9dcb4a8078cb215
|
2021-06-03 22:11:37 +02:00
|
|
|
HEAD_REF master
|
|
|
|
)
|
|
|
|
|
|
|
|
vcpkg_cmake_configure(
|
2022-04-29 20:44:17 +02:00
|
|
|
SOURCE_PATH "${SOURCE_PATH}"
|
2021-06-03 22:11:37 +02:00
|
|
|
)
|
|
|
|
|
|
|
|
vcpkg_cmake_install()
|
|
|
|
|
|
|
|
vcpkg_cmake_config_fixup(CONFIG_PATH lib/cmake/aricpp)
|
2021-10-28 00:19:28 +02:00
|
|
|
vcpkg_fixup_pkgconfig()
|
2022-04-29 20:44:17 +02:00
|
|
|
|
|
|
|
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug" "${CURRENT_PACKAGES_DIR}/lib")
|
|
|
|
file(INSTALL "${SOURCE_PATH}/LICENSE" DESTINATION "${CURRENT_PACKAGES_DIR}/share/${PORT}" RENAME copyright)
|