23 lines
641 B
CMake
23 lines
641 B
CMake
# XCB/Xorg Window Attaching SenseAPI backend
|
|
cmake_dependent_option(ENABLE_SENSEAPI_xcbWindow
|
|
"Enable XCB/Xorg Window Attaching SenseAPI backend" OFF
|
|
"ENABLE_LIB_xcbXorg" OFF)
|
|
|
|
if(ENABLE_SENSEAPI_xcbWindow)
|
|
# For now, just create a placeholder library
|
|
add_library(senseApiXcbWindow STATIC
|
|
# xcbWindow.cpp would go here
|
|
)
|
|
|
|
target_link_libraries(senseApiXcbWindow
|
|
xcbXorg
|
|
)
|
|
|
|
target_include_directories(senseApiXcbWindow PUBLIC
|
|
${CMAKE_CURRENT_SOURCE_DIR}/include
|
|
)
|
|
|
|
# Set config define for header generation
|
|
add_compile_definitions(CONFIG_SENSEAPI_XCBWINDOW_ENABLED)
|
|
endif()
|