]> git.proxmox.com Git - ceph.git/blob - ceph/src/jaegertracing/opentelemetry-cpp/tools/vcpkg/ports/ois/portfile.cmake
update ceph source to reef 18.1.2
[ceph.git] / ceph / src / jaegertracing / opentelemetry-cpp / tools / vcpkg / ports / ois / portfile.cmake
1 # Automatically fail port install for UWP and ARM. Unsure if it is
2 # supported by library. See here: https://github.com/wgois/OIS/issues/57
3 vcpkg_fail_port_install(ON_ARCH "arm" "arm64" ON_TARGET "uwp")
4
5 vcpkg_from_github(
6 OUT_SOURCE_PATH SOURCE_PATH
7 REPO wgois/OIS
8 REF v1.5
9 SHA512 5ab1dda7c25c1959ccbbb758ea3fda36bd62ad65f46e2c6b418317a5eb39e0bace52a44ae079dfb69fc58c90df54f8e50d589daae1100ec615325363c9d77513
10 HEAD_REF master
11 )
12
13 vcpkg_configure_cmake(
14 SOURCE_PATH ${SOURCE_PATH}
15 PREFER_NINJA
16 DISABLE_PARALLEL_CONFIGURE
17 )
18
19 vcpkg_install_cmake()
20
21 if(VCPKG_LIBRARY_LINKAGE STREQUAL static)
22 file(REMOVE_RECURSE ${CURRENT_PACKAGES_DIR}/bin ${CURRENT_PACKAGES_DIR}/debug/bin)
23 endif()
24
25 # Include files should not be duplicated into the /debug/include directory
26 file(REMOVE_RECURSE ${CURRENT_PACKAGES_DIR}/debug/include)
27
28 # Handle copyright
29 file(INSTALL ${SOURCE_PATH}/LICENSE.md DESTINATION ${CURRENT_PACKAGES_DIR}/share/${PORT} RENAME copyright)