2020-04-25 05:01:02 +08:00
|
|
|
vcpkg_from_github(
|
|
|
|
OUT_SOURCE_PATH SOURCE_PATH
|
|
|
|
REPO serge-sans-paille/frozen
|
2024-09-04 02:21:08 +08:00
|
|
|
REF "${VERSION}"
|
|
|
|
SHA512 644b29f60458fc5193a3fb16a347c190f9694d1bdbc75202aafe8d43eb72ce0433bbeaeb692f8ca485000d68b451ddc0236a1880ebbd64477f73198043d046b3
|
2020-04-25 05:01:02 +08:00
|
|
|
HEAD_REF master
|
|
|
|
)
|
|
|
|
|
2021-04-29 23:03:59 +08:00
|
|
|
vcpkg_cmake_configure(
|
2022-06-09 23:57:25 +08:00
|
|
|
SOURCE_PATH "${SOURCE_PATH}"
|
2020-04-25 05:01:02 +08:00
|
|
|
OPTIONS
|
2021-04-29 23:03:59 +08:00
|
|
|
-Dfrozen.benchmark=OFF
|
|
|
|
-Dfrozen.coverage=OFF
|
|
|
|
-Dfrozen.installation=ON
|
2020-04-25 05:01:02 +08:00
|
|
|
-Dfrozen.tests=OFF
|
|
|
|
)
|
2021-04-29 23:03:59 +08:00
|
|
|
vcpkg_cmake_install()
|
2020-04-25 05:01:02 +08:00
|
|
|
|
2021-04-29 23:03:59 +08:00
|
|
|
vcpkg_cmake_config_fixup(CONFIG_PATH share/cmake/frozen)
|
2020-04-25 05:01:02 +08:00
|
|
|
|
2022-06-09 23:57:25 +08:00
|
|
|
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug")
|
2020-04-25 05:01:02 +08:00
|
|
|
|
2022-06-09 23:57:25 +08:00
|
|
|
file(INSTALL "${SOURCE_PATH}/LICENSE" DESTINATION "${CURRENT_PACKAGES_DIR}/share/${PORT}" RENAME copyright)
|