2018-12-03 16:44:24 +08:00
|
|
|
vcpkg_from_github(
|
|
|
|
OUT_SOURCE_PATH SOURCE_PATH
|
|
|
|
REPO hanickadot/compile-time-regular-expressions
|
2021-08-31 01:28:20 +08:00
|
|
|
REF v3.4.1
|
|
|
|
SHA512 a7b44df9c30fb46373e34d8b98fe3ef3fd0486d33ba4d7bbf58a29eef05b22b8c903bf79ae539008a564f46e0bdee3e7700819d8d072c00537f8d175af59be3e
|
|
|
|
HEAD_REF main
|
2018-12-03 16:44:24 +08:00
|
|
|
)
|
|
|
|
|
2021-08-31 01:28:20 +08:00
|
|
|
vcpkg_cmake_configure(
|
|
|
|
SOURCE_PATH "${SOURCE_PATH}"
|
|
|
|
OPTIONS
|
|
|
|
-DCTRE_BUILD_TESTS=OFF
|
|
|
|
-DCTRE_BUILD_PACKAGE=OFF
|
|
|
|
)
|
|
|
|
vcpkg_cmake_install()
|
|
|
|
vcpkg_cmake_config_fixup(CONFIG_PATH "share/cmake/ctre")
|
|
|
|
|
|
|
|
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug")
|
2018-12-03 16:44:24 +08:00
|
|
|
|
2021-08-31 01:28:20 +08:00
|
|
|
file(INSTALL "${SOURCE_PATH}/LICENSE" DESTINATION "${CURRENT_PACKAGES_DIR}/share/${PORT}" RENAME copyright)
|