1 2 3 4 5 6
include_directories(${LIBDRM_INCLUDE_DIRS}) link_directories(${LIBDRM_LIBRARY_DIRS}) add_executable (testpat testpat.cpp) target_link_libraries(testpat kms++ ${LIBDRM_LIBRARIES})