2019-05-31 18:22:06 +08:00
|
|
|
vcpkg_from_github(
|
|
|
|
OUT_SOURCE_PATH SOURCE_PATH
|
|
|
|
REPO martinmoene/expected-lite
|
2023-03-24 06:57:07 +08:00
|
|
|
REF "v${VERSION}"
|
2024-06-19 02:59:26 +08:00
|
|
|
SHA512 1e2b36e4966d66aa202c9fd9c251e643593cd3e08d5ecbff8849e2a41abab199188aaca25f1d4e84f1b3cb2387875a9750900dfc4ee56c2dbf153af9c2520943
|
2021-10-05 08:15:24 +08:00
|
|
|
HEAD_REF master
|
2019-05-31 18:22:06 +08:00
|
|
|
)
|
|
|
|
|
2021-10-05 08:15:24 +08:00
|
|
|
vcpkg_cmake_configure(
|
|
|
|
SOURCE_PATH "${SOURCE_PATH}"
|
2019-05-31 18:22:06 +08:00
|
|
|
OPTIONS
|
|
|
|
-DEXPECTED_LITE_OPT_BUILD_TESTS=OFF
|
|
|
|
-DEXPECTED_LITE_OPT_BUILD_EXAMPLES=OFF
|
|
|
|
)
|
|
|
|
|
2021-10-05 08:15:24 +08:00
|
|
|
vcpkg_cmake_install()
|
2019-05-31 18:22:06 +08:00
|
|
|
|
2021-10-05 08:15:24 +08:00
|
|
|
vcpkg_cmake_config_fixup(
|
2019-05-31 18:22:06 +08:00
|
|
|
CONFIG_PATH lib/cmake/${PORT}
|
|
|
|
)
|
|
|
|
|
|
|
|
file(REMOVE_RECURSE
|
2021-10-05 08:15:24 +08:00
|
|
|
"${CURRENT_PACKAGES_DIR}/debug"
|
|
|
|
"${CURRENT_PACKAGES_DIR}/lib"
|
2019-05-31 18:22:06 +08:00
|
|
|
)
|
|
|
|
|
2023-03-24 06:57:07 +08:00
|
|
|
vcpkg_install_copyright(FILE_LIST "${SOURCE_PATH}/LICENSE.txt")
|