]> git.proxmox.com Git - ceph.git/blob - ceph/src/jaegertracing/opentelemetry-cpp/tools/vcpkg/ports/devicenameresolver/CMakeLists.txt
update ceph source to reef 18.1.2
[ceph.git] / ceph / src / jaegertracing / opentelemetry-cpp / tools / vcpkg / ports / devicenameresolver / CMakeLists.txt
1 cmake_minimum_required(VERSION 3.8.0)
2 project(DeviceNameResolver CXX)
3
4 if(MSVC)
5 add_compile_options(/W3 /wd4005 /wd4996 /wd4018 /DUNICODE /D_UNICODE -D_SILENCE_STDEXT_HASH_DEPRECATION_WARNINGS -D_CRT_SECURE_NO_WARNINGS -DNOMINMAX)
6 endif()
7
8 include_directories(.)
9
10 file(GLOB DeviceNameResolver_srcs "*.cpp")
11
12 add_library(DeviceNameResolver ${DeviceNameResolver_srcs})
13
14 install(
15 TARGETS DeviceNameResolver
16 RUNTIME DESTINATION bin
17 LIBRARY DESTINATION lib
18 ARCHIVE DESTINATION lib
19 )
20
21 if(NOT DISABLE_INSTALL_HEADERS)
22 install(FILES DeviceNameResolver.h DESTINATION include)
23 endif()