We are using <xcb/xfixes.h>, so it makes sense to link against the xcb library instead of libXfixes.so directly.
19 lines
245 B
CMake
19 lines
245 B
CMake
cmake_minimum_required(VERSION 3.0)
|
|
project(capture_XCB LANGUAGES C)
|
|
|
|
add_library(capture_XCB STATIC
|
|
src/xcb.c
|
|
)
|
|
|
|
target_link_libraries(capture_XCB
|
|
lg_common
|
|
xcb
|
|
xcb-shm
|
|
xcb-xfixes
|
|
)
|
|
|
|
target_include_directories(capture_XCB
|
|
PRIVATE
|
|
src
|
|
)
|