set(vsyncconvenience_SOURCES softwarevsyncmonitor.cpp vsyncmonitor.cpp ) add_library(VsyncSupport OBJECT ${vsyncconvenience_SOURCES}) target_link_libraries(VsyncSupport Qt::Core Qt::Gui) target_include_directories(VsyncSupport PUBLIC ${CMAKE_CURRENT_SOURCE_DIR})