blob: d983964aa46e39ddc9c4fe79b2f42893c91db2d4 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
|
include_directories(${LIBDRM_INCLUDE_DIRS})
link_directories(${LIBDRM_LIBRARY_DIRS})
file(GLOB SRCS "src/*.cpp" "src/*.h" "inc/kms++/*.h")
add_library(kms++ ${SRCS})
target_include_directories(kms++ PUBLIC
$<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}/inc>
$<INSTALL_INTERFACE:include>
PRIVATE src)
target_link_libraries(kms++ ${LIBDRM_LIBRARIES})
|