2018-10-31 05:10:41 +08:00
|
|
|
vcpkg_from_github(
|
|
|
|
OUT_SOURCE_PATH SOURCE_PATH
|
|
|
|
REPO ericniebler/range-v3
|
2021-12-07 12:12:14 +08:00
|
|
|
REF 83783f578e0e6666d68a3bf17b0038a80e62530e # 2021-11-2
|
|
|
|
SHA512 f0953e3c4e25ddf2f94b583080b8966faf1973243e01f77d23f8c04c2e0352003e4bd12490a46176472ad46c80dec99a1a8880a9bde8006eb01e3c3d8eee2fb4
|
2018-10-31 05:10:41 +08:00
|
|
|
HEAD_REF master
|
|
|
|
)
|
2017-05-31 09:05:28 +08:00
|
|
|
|
2021-12-07 12:12:14 +08:00
|
|
|
vcpkg_cmake_configure(
|
|
|
|
SOURCE_PATH "${SOURCE_PATH}"
|
2018-10-31 05:10:41 +08:00
|
|
|
OPTIONS
|
2018-11-01 05:55:17 +08:00
|
|
|
-DRANGE_V3_TESTS=OFF
|
|
|
|
-DRANGE_V3_EXAMPLES=OFF
|
|
|
|
-DRANGE_V3_PERF=OFF
|
|
|
|
-DRANGE_V3_HEADER_CHECKS=OFF
|
2018-10-31 05:10:41 +08:00
|
|
|
)
|
2016-10-18 08:11:42 +08:00
|
|
|
|
2021-12-07 12:12:14 +08:00
|
|
|
vcpkg_cmake_install()
|
2018-04-29 05:39:25 +08:00
|
|
|
|
2021-12-07 12:12:14 +08:00
|
|
|
vcpkg_cmake_config_fixup(CONFIG_PATH lib/cmake/range-v3)
|
2018-04-29 05:39:25 +08:00
|
|
|
|
2021-12-07 12:12:14 +08:00
|
|
|
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug" "${CURRENT_PACKAGES_DIR}/lib")
|
2018-04-29 05:39:25 +08:00
|
|
|
|
2018-10-31 05:10:41 +08:00
|
|
|
vcpkg_copy_pdbs()
|
2018-04-29 05:39:25 +08:00
|
|
|
|
2021-12-07 12:12:14 +08:00
|
|
|
file(INSTALL "${SOURCE_PATH}/LICENSE.txt" DESTINATION "${CURRENT_PACKAGES_DIR}/share/${PORT}" RENAME copyright)
|