mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-12-16 00:51:36 +08:00
12 lines
470 B
CMake
12 lines
470 B
CMake
cmake_minimum_required(VERSION 3.5)
|
|
project(concurrentqueue C)
|
|
|
|
add_library(concurrentqueue INTERFACE)
|
|
|
|
target_include_directories(concurrentqueue INTERFACE $<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}> $<INSTALL_INTERFACE:include>)
|
|
|
|
install(TARGETS concurrentqueue
|
|
EXPORT concurrentqueue
|
|
)
|
|
install(EXPORT concurrentqueue FILE unofficial-concurrentqueue-targets.cmake NAMESPACE unofficial::concurrentqueue:: DESTINATION share/unofficial-concurrentqueue)
|