2017-05-19 11:03:52 +08:00
|
|
|
vcpkg_from_github(
|
|
|
|
OUT_SOURCE_PATH SOURCE_PATH
|
|
|
|
REPO onqtam/doctest
|
2021-02-09 05:34:09 +08:00
|
|
|
REF f0ab4e793fa863d4a5929ff263ddd3bebec8767e #version 2.4.5
|
|
|
|
SHA512 7107787bc10e842b796b0d4dbe6d364ec6ca84813f00f48a07c4c91eb2fc71bd01779715296955dac2219b681f33721f3be46cb884997b4d84bf366122a620d6
|
2017-05-19 11:03:52 +08:00
|
|
|
HEAD_REF master
|
2016-09-22 14:02:02 +08:00
|
|
|
)
|
|
|
|
|
2019-02-17 06:45:10 +08:00
|
|
|
vcpkg_configure_cmake(
|
|
|
|
SOURCE_PATH ${SOURCE_PATH}
|
|
|
|
PREFER_NINJA
|
|
|
|
OPTIONS
|
|
|
|
-DDOCTEST_WITH_TESTS=OFF
|
|
|
|
)
|
|
|
|
|
|
|
|
vcpkg_install_cmake()
|
|
|
|
vcpkg_fixup_cmake_targets(CONFIG_PATH lib/cmake/doctest)
|
2016-09-22 14:02:02 +08:00
|
|
|
|
2019-02-17 06:45:10 +08:00
|
|
|
file(REMOVE_RECURSE ${CURRENT_PACKAGES_DIR}/lib)
|
|
|
|
file(REMOVE_RECURSE ${CURRENT_PACKAGES_DIR}/debug)
|
2020-03-05 02:58:57 +08:00
|
|
|
configure_file(${SOURCE_PATH}/LICENSE.txt ${CURRENT_PACKAGES_DIR}/share/${PORT}/copyright COPYONLY)
|