2017-05-18 20:03:52 -07:00
|
|
|
vcpkg_from_github(
|
|
|
|
OUT_SOURCE_PATH SOURCE_PATH
|
2022-06-20 22:19:56 +02:00
|
|
|
REPO doctest/doctest
|
|
|
|
REF v2.4.9
|
|
|
|
SHA512 c7337e2de371c18973a0f4cb76458d6ae387e78874c9bc8aa367ffd2d592514b774e7c5ebf44f83b7046f6b33c6905fd079c36f4c33eadf52b3d651d978182cb
|
2017-05-18 20:03:52 -07:00
|
|
|
HEAD_REF master
|
2016-09-21 23:02:02 -07:00
|
|
|
)
|
|
|
|
|
2022-06-20 22:19:56 +02:00
|
|
|
vcpkg_cmake_configure(
|
2021-10-06 01:12:22 +02:00
|
|
|
SOURCE_PATH "${SOURCE_PATH}"
|
2022-06-20 22:19:56 +02:00
|
|
|
DISABLE_PARALLEL_CONFIGURE
|
2019-02-16 22:45:10 +00:00
|
|
|
OPTIONS
|
|
|
|
-DDOCTEST_WITH_TESTS=OFF
|
|
|
|
)
|
|
|
|
|
2022-06-20 22:19:56 +02:00
|
|
|
vcpkg_cmake_install()
|
|
|
|
|
|
|
|
vcpkg_cmake_config_fixup(CONFIG_PATH lib/cmake/${PORT})
|
|
|
|
|
|
|
|
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug" "${CURRENT_PACKAGES_DIR}/lib")
|
2016-09-21 23:02:02 -07:00
|
|
|
|
2021-10-06 01:12:22 +02:00
|
|
|
file(INSTALL "${SOURCE_PATH}/LICENSE.txt" DESTINATION "${CURRENT_PACKAGES_DIR}/share/${PORT}" RENAME copyright)
|