]> git.proxmox.com Git - ceph.git/blob - ceph/src/jaegertracing/opentelemetry-cpp/tools/vcpkg/ports/pqp/CMakeLists.txt
update ceph source to reef 18.1.2
[ceph.git] / ceph / src / jaegertracing / opentelemetry-cpp / tools / vcpkg / ports / pqp / CMakeLists.txt
1 cmake_minimum_required(VERSION 3.0)
2 project(pqp)
3
4 set(SOURCE_CUSTOM_DIR "PQP_v1.3")
5 include_directories(${SOURCE_CUSTOM_DIR}/src)
6
7 file(GLOB SRCS
8 "${SOURCE_CUSTOM_DIR}/src/*.cpp")
9 file(GLOB HDRS
10 "${SOURCE_CUSTOM_DIR}/src/*.h")
11
12 add_library(pqp STATIC ${SRCS})
13
14 install(TARGETS pqp EXPORT pqpConfig
15 RUNTIME DESTINATION bin
16 LIBRARY DESTINATION lib
17 ARCHIVE DESTINATION lib)
18
19 foreach (file ${HDRS})
20 get_filename_component(dir ${file} DIRECTORY)
21 install(FILES ${file} DESTINATION include/ CONFIGURATIONS Release)
22 endforeach()