vcpkg/ports/tl-expected/portfile.cmake
MonicaLiu c8c15aa1a2
[tl-expected] update to v1.1.0 ()
* update ti-expected

* update version

* update tl-expected

* update verison

---------

Co-authored-by: Monica <v-liumonica@microsoft.com>
2023-03-22 16:00:43 -07:00

24 lines
650 B
CMake

vcpkg_from_github(
OUT_SOURCE_PATH SOURCE_PATH
REPO TartanLlama/expected
REF "v${VERSION}"
SHA512 ce970c31582869af9d0b3349f386db207dd4881db0bdfd3744331b0a62fe2886dde598a75882fb00254afa3549fb9d4c2bd1ff7682744891d403edfd4ff73492
HEAD_REF master
)
vcpkg_cmake_configure(
SOURCE_PATH "${SOURCE_PATH}"
OPTIONS
-DEXPECTED_BUILD_TESTS=OFF
)
vcpkg_cmake_install()
vcpkg_cmake_config_fixup(CONFIG_PATH share/cmake/tl-expected)
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug")
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/share/cmake")
# Handle copyright
vcpkg_install_copyright(FILE_LIST "${SOURCE_PATH}/COPYING")