1include_directories(${LIBDRM_INCLUDE_DIRS}) 2link_directories(${LIBDRM_LIBRARY_DIRS}) 3 4add_executable (kmstest kmstest.cpp) 5target_link_libraries(kmstest kms++ kms++util ${LIBDRM_LIBRARIES}) 6 7add_executable (kmsview kmsview.cpp) 8target_link_libraries(kmsview kms++ kms++util ${LIBDRM_LIBRARIES}) 9 10add_executable (kmsprint kmsprint.cpp) 11target_link_libraries(kmsprint kms++ kms++util ${LIBDRM_LIBRARIES}) 12 13add_executable (fbtest fbtest.cpp) 14target_link_libraries(fbtest kms++util) 15 16add_executable (kmscapture kmscapture.cpp) 17target_link_libraries(kmscapture kms++ kms++util ${LIBDRM_LIBRARIES}) 18 19add_executable (kmsblank kmsblank.cpp) 20target_link_libraries(kmsblank kms++ kms++util ${LIBDRM_LIBRARIES}) 21 22add_executable (wbcap wbcap.cpp) 23target_link_libraries(wbcap kms++ kms++util ${LIBDRM_LIBRARIES}) 24 25add_executable (wbm2m wbm2m.cpp) 26target_link_libraries(wbm2m kms++ kms++util ${LIBDRM_LIBRARIES}) 27 28install(TARGETS kmstest kmsprint fbtest 29 DESTINATION bin) 30