kwin/platformsupport/vsyncconvenience/CMakeLists.txt
Nicolas Fella 99947c8bd8 Use versionless Qt cmake target
This makes it easier to build against both Qt5 and Qt6

GIT_SILENT
2021-01-30 17:18:21 +01:00

8 lines
272 B
CMake

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})