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}"
|
|
|
|
SHA512 d6a4f30f90494dda002ad27d227f17ce0201752178418d7dfada26441e853590d46816c88922e7d458dda68ad4414ddfe6b7fa4ed2a5854e4e3b22675b13f92a
|
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")
|