mirror of
https://github.com/crystalidea/qt6windows7.git
synced 2024-11-30 07:46:51 +08:00
18 lines
333 B
CMake
18 lines
333 B
CMake
|
project(inputdevices)
|
||
|
cmake_minimum_required(VERSION 3.19)
|
||
|
|
||
|
find_package(Qt6 REQUIRED COMPONENTS Core Gui Widgets)
|
||
|
|
||
|
qt_add_executable(inputdevices
|
||
|
main.cpp
|
||
|
inputdevicemodel.h inputdevicemodel.cpp
|
||
|
)
|
||
|
|
||
|
set_target_properties(inputdevices PROPERTIES
|
||
|
AUTOMOC TRUE
|
||
|
)
|
||
|
|
||
|
target_link_libraries(inputdevices PUBLIC
|
||
|
Qt::Widgets
|
||
|
)
|