kmscube: use drmModeAddFB2 version of ExtFB
[android/external-libkmsxx.git] / kms++ / CMakeLists.txt
1 include_directories(${LIBDRM_INCLUDE_DIRS})
2 link_directories(${LIBDRM_LIBRARY_DIRS})
4 file(GLOB SRCS "src/*.cpp" "src/*.h" "inc/kms++/*.h")
5 add_library(kms++ ${SRCS})
7 target_include_directories(kms++ PUBLIC
8     $<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}/inc>
9     $<INSTALL_INTERFACE:include>
10     PRIVATE src)
12 target_link_libraries(kms++ ${LIBDRM_LIBRARIES})