2020-01-03 05:44:54 +08:00
|
|
|
|
2018-09-18 17:07:27 +08:00
|
|
|
vcpkg_from_github(
|
|
|
|
OUT_SOURCE_PATH SOURCE_PATH
|
|
|
|
REPO google/fruit
|
2023-01-24 16:46:17 +08:00
|
|
|
REF v3.7.0
|
|
|
|
SHA512 6a18f2740fc52672de49f082b5a21d0a236520da83e77806935baca5d5a0b41f75f1d1b6729cad13fc77b0f033d7d8d2158fd58b1e565a7662bd80dc7eb63ba1
|
2018-09-18 17:07:27 +08:00
|
|
|
HEAD_REF master
|
|
|
|
)
|
|
|
|
|
|
|
|
# TODO: Make boost an optional dependency?
|
2023-01-24 16:46:17 +08:00
|
|
|
vcpkg_cmake_configure(
|
2018-09-18 17:07:27 +08:00
|
|
|
SOURCE_PATH ${SOURCE_PATH}
|
|
|
|
OPTIONS
|
|
|
|
-DFRUIT_USES_BOOST=False
|
2020-01-03 05:44:54 +08:00
|
|
|
-DFRUIT_TESTS_USE_PRECOMPILED_HEADERS=OFF
|
2018-09-18 17:07:27 +08:00
|
|
|
)
|
|
|
|
|
2023-01-24 16:46:17 +08:00
|
|
|
vcpkg_cmake_install()
|
2018-09-18 17:07:27 +08:00
|
|
|
file(REMOVE_RECURSE ${CURRENT_PACKAGES_DIR}/debug/include)
|
|
|
|
|
|
|
|
# Handle copyright
|
2020-01-03 05:44:54 +08:00
|
|
|
file(INSTALL ${SOURCE_PATH}/COPYING DESTINATION ${CURRENT_PACKAGES_DIR}/share/${PORT} RENAME copyright)
|