2017-05-18 20:03:52 -07:00
|
|
|
vcpkg_from_github(
|
|
|
|
OUT_SOURCE_PATH SOURCE_PATH
|
|
|
|
REPO onqtam/doctest
|
2021-02-08 16:34:09 -05:00
|
|
|
REF f0ab4e793fa863d4a5929ff263ddd3bebec8767e #version 2.4.5
|
|
|
|
SHA512 7107787bc10e842b796b0d4dbe6d364ec6ca84813f00f48a07c4c91eb2fc71bd01779715296955dac2219b681f33721f3be46cb884997b4d84bf366122a620d6
|
2017-05-18 20:03:52 -07:00
|
|
|
HEAD_REF master
|
2016-09-21 23:02:02 -07:00
|
|
|
)
|
|
|
|
|
2019-02-16 22:45:10 +00: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-21 23:02:02 -07:00
|
|
|
|
2019-02-16 22:45:10 +00:00
|
|
|
file(REMOVE_RECURSE ${CURRENT_PACKAGES_DIR}/lib)
|
|
|
|
file(REMOVE_RECURSE ${CURRENT_PACKAGES_DIR}/debug)
|
2020-03-04 10:58:57 -08:00
|
|
|
configure_file(${SOURCE_PATH}/LICENSE.txt ${CURRENT_PACKAGES_DIR}/share/${PORT}/copyright COPYONLY)
|