2019-05-31 18:22:06 +08:00
|
|
|
vcpkg_from_github(
|
|
|
|
OUT_SOURCE_PATH SOURCE_PATH
|
|
|
|
REPO martinmoene/expected-lite
|
2021-10-05 08:15:24 +08:00
|
|
|
REF v0.5.0
|
|
|
|
SHA512 6dd8974d518db0c79fe7bd0e407a85436c6ad222f8e5ed84efb34925d9a665b5b83ff08529b3e985034ed9a9201c80575f6a956132408ef6577c9c47cac55eae
|
|
|
|
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
|
|
|
)
|
|
|
|
|
|
|
|
file(INSTALL
|
2021-10-05 08:15:24 +08:00
|
|
|
"${SOURCE_PATH}/LICENSE.txt" DESTINATION "${CURRENT_PACKAGES_DIR}/share/${PORT}" RENAME copyright
|
2019-05-31 18:22:06 +08:00
|
|
|
)
|