2019-02-08 03:03:09 +08:00
|
|
|
vcpkg_from_github(
|
|
|
|
OUT_SOURCE_PATH SOURCE_PATH
|
|
|
|
REPO kthohr/gcem
|
2023-10-03 10:51:40 +08:00
|
|
|
REF "v${VERSION}"
|
2024-09-26 02:05:12 +08:00
|
|
|
SHA512 b9bbf16cfc3488a99ab371db36879bdde1699f0890db609278c03fb161cdffef0fbd34dbbf6004d6352e9e90c49e08e6b77357c4a424b0b5e174198b42dc049c
|
2019-02-08 03:03:09 +08:00
|
|
|
HEAD_REF master
|
|
|
|
)
|
|
|
|
|
2022-04-19 07:34:30 +08:00
|
|
|
vcpkg_cmake_configure(
|
|
|
|
SOURCE_PATH "${SOURCE_PATH}"
|
2019-02-08 03:03:09 +08:00
|
|
|
)
|
|
|
|
|
2022-04-19 07:34:30 +08:00
|
|
|
vcpkg_cmake_install()
|
2019-02-08 03:03:09 +08:00
|
|
|
|
2022-04-19 07:34:30 +08:00
|
|
|
vcpkg_cmake_config_fixup(CONFIG_PATH lib/cmake/gcem)
|
2019-02-08 03:03:09 +08:00
|
|
|
|
2022-04-19 07:34:30 +08:00
|
|
|
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug")
|
|
|
|
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/lib")
|
2019-02-08 03:03:09 +08:00
|
|
|
|
|
|
|
# Handle copyright
|
2022-04-19 07:34:30 +08:00
|
|
|
file(INSTALL "${SOURCE_PATH}/LICENSE" DESTINATION "${CURRENT_PACKAGES_DIR}/share/${PORT}" RENAME copyright)
|