shift-shell/touchscreentest/CMakeLists.txt
Nicolas Fella 8f92f6b4d6 Use versionless Qt cmake target
This makes it easier to build against both Qt5 and Qt6

GIT_SILENT
2021-01-30 17:23:02 +01:00

19 lines
396 B
CMake

cmake_minimum_required(VERSION 2.8.12)
project(touchtest LANGUAGES CXX)
SET(touchtest_SRC
main.cpp
)
QT5_ADD_RESOURCES(touchtest_SRC
qml.qrc
)
add_executable(touchtest ${touchtest_SRC})
target_link_libraries(${PROJECT_NAME} Qt::Core Qt::Quick Qt::Widgets)
INSTALL( TARGETS touchtest DESTINATION bin)
INSTALL( PROGRAMS org.kde.touchtest.desktop DESTINATION ${KDE_INSTALL_APPDIR} )