qt5base-lts/tests/manual/highdpi/pixelgadget/CMakeLists.txt
Alexandru Croitor d2b50a736b CMake: Update usage of add_qt_gui_executable
Change-Id: I8a5e3b4ecdd1c4fa888d4e11dfd09c5116cfb4d4
Reviewed-by: Joerg Bornemann <joerg.bornemann@qt.io>
2020-10-29 12:13:34 +01:00

20 lines
364 B
CMake

# special case skip regeneration
cmake_minimum_required(VERSION 3.14)
project(pixelgadget LANGUAGES CXX)
set(CMAKE_AUTOMOC ON)
find_package(Qt6 COMPONENTS Core)
find_package(Qt6 COMPONENTS Gui)
find_package(Qt6 COMPONENTS Widgets)
qt_add_executable(pixelgadget
main.cpp
)
target_link_libraries(pixelgadget PUBLIC
Qt::Core
Qt::Gui
Qt::Widgets
)