]> git.proxmox.com Git - ceph.git/blob - ceph/src/jaegertracing/opentelemetry-cpp/tools/vcpkg/ports/azure-core-cpp/portfile.cmake
update ceph source to reef 18.1.2
[ceph.git] / ceph / src / jaegertracing / opentelemetry-cpp / tools / vcpkg / ports / azure-core-cpp / portfile.cmake
1 vcpkg_from_github(
2 OUT_SOURCE_PATH SOURCE_PATH
3 REPO Azure/azure-sdk-for-cpp
4 REF azure-core_1.0.0-beta.8
5 SHA512 fd882e37332fd5f35627b94c96cfae78178d9bc551cc9a27480f2ef08d496ea2379dc8d0e6a237e902ce063ae87ed6f9e8dc0b91e2e16bd8638e839f8d9e4c2a
6 )
7
8 vcpkg_check_features(
9 OUT_FEATURE_OPTIONS FEATURE_OPTIONS
10 FEATURES
11 curl BUILD_TRANSPORT_CURL
12 winhttp BUILD_TRANSPORT_WINHTTP
13 )
14
15 vcpkg_cmake_configure(
16 SOURCE_PATH ${SOURCE_PATH}/sdk/core/azure-core/
17 PREFER_NINJA
18 OPTIONS
19 ${FEATURE_OPTIONS}
20 -DWARNINGS_AS_ERRORS=OFF
21 )
22
23 vcpkg_cmake_install()
24 file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/include")
25 vcpkg_cmake_config_fixup()
26 file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/share")
27 vcpkg_copy_pdbs()