2021-03-24 20:53:27 +01:00
|
|
|
vcpkg_from_github(
|
|
|
|
OUT_SOURCE_PATH SOURCE_PATH
|
|
|
|
REPO offa/influxdb-cxx
|
2022-09-02 10:39:08 -07:00
|
|
|
REF 141ef6c3f9ee933262a35abe3ac5900da821078a #Commit on 2022-08-20
|
|
|
|
SHA512 d19a7dfd410375a47e5fcb425045732878b09ec6b5eb01740696d57064c739cebcf4a4141c8f592d0c985f10cd8b05c538cef32193cb7226d74bc3462754b8fa
|
2021-03-24 20:53:27 +01:00
|
|
|
HEAD_REF master
|
|
|
|
)
|
|
|
|
|
|
|
|
vcpkg_check_features(OUT_FEATURE_OPTIONS FEATURE_OPTIONS
|
|
|
|
FEATURES
|
|
|
|
boost INFLUXCXX_WITH_BOOST
|
|
|
|
)
|
|
|
|
|
2021-11-15 23:36:13 +01:00
|
|
|
vcpkg_cmake_configure(
|
|
|
|
SOURCE_PATH "${SOURCE_PATH}"
|
2021-03-24 20:53:27 +01:00
|
|
|
OPTIONS
|
|
|
|
-DINFLUXCXX_TESTING=OFF
|
|
|
|
-DINFLUXCXX_SYSTEMTEST=OFF
|
|
|
|
${FEATURE_OPTIONS}
|
|
|
|
)
|
|
|
|
|
2021-11-15 23:36:13 +01:00
|
|
|
vcpkg_cmake_install()
|
2021-03-24 20:53:27 +01:00
|
|
|
|
|
|
|
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/include")
|
|
|
|
|
2021-12-03 11:54:47 +08:00
|
|
|
vcpkg_cmake_config_fixup(PACKAGE_NAME InfluxDB CONFIG_PATH lib/cmake/InfluxDB)
|
2021-03-24 20:53:27 +01:00
|
|
|
|
2021-11-15 23:36:13 +01:00
|
|
|
file(INSTALL "${SOURCE_PATH}/LICENSE" DESTINATION "${CURRENT_PACKAGES_DIR}/share/${PORT}" RENAME copyright)
|