2019-05-31 18:22:06 +08:00
|
|
|
vcpkg_from_github(
|
|
|
|
OUT_SOURCE_PATH SOURCE_PATH
|
|
|
|
REPO martinmoene/expected-lite
|
2022-08-09 02:53:28 +08:00
|
|
|
REF 95b9cb015fa17baa749c2b396b335906e1596a9e # v0.6.2
|
|
|
|
SHA512 f4d46daf45d857137d9b026fdeac3101c7707868aa133b696ee3c5cfc208ea402c71db73882eeece0c2eb6271ee06495c7afde4eefb20de0a98ad9bc5727dc35
|
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
|
|
|
)
|
|
|
|
|
|
|
|
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
|
|
|
)
|