vcpkg/ports/cyclonedds-cxx/portfile.cmake
Jia Yue Hua 99369e3127
[cyclonedds, cyclonedds-cxx] update to 0.10.4 (#36624)
* [cyclonedds] update to 0.10.4

* [cyclonedds] update to 0.10.4

* [cyclonedds-cxx] update to 0.10.4

* [cyclonedds-cxx] update to 0.10.4
2024-02-07 12:27:28 -08:00

28 lines
754 B
CMake

vcpkg_from_github(
OUT_SOURCE_PATH SOURCE_PATH
REPO eclipse-cyclonedds/cyclonedds-cxx
REF "${VERSION}"
SHA512 ef16325086bf14ed27b1445a257459b431e9f40c245efcea5201cc4fb169b79a3f62be0bd1811e5da90d0a3375e220a657841a662350069c14f379ac28911d73
HEAD_REF master
)
vcpkg_check_features(OUT_FEATURE_OPTIONS FEATURE_OPTIONS
FEATURES
"idllib" BUILD_IDLLIB
)
vcpkg_cmake_configure(
SOURCE_PATH "${SOURCE_PATH}"
OPTIONS
${FEATURE_OPTIONS}
)
vcpkg_cmake_install()
vcpkg_cmake_config_fixup(CONFIG_PATH "lib/cmake/CycloneDDS-CXX")
file(REMOVE_RECURSE
"${CURRENT_PACKAGES_DIR}/debug/include"
"${CURRENT_PACKAGES_DIR}/debug/share")
vcpkg_install_copyright(FILE_LIST "${SOURCE_PATH}/LICENSE")