a3bd80c08c
Clean up the state of the projects, before changing the internal CMake API function names. Task-number: QTBUG-86815 Change-Id: I90f1b21b8ae4439a4a293872c3bb728dab44a50d Reviewed-by: Joerg Bornemann <joerg.bornemann@qt.io>
20 lines
368 B
CMake
20 lines
368 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)
|
|
|
|
add_qt_gui_executable(pixelgadget
|
|
main.cpp
|
|
)
|
|
|
|
target_link_libraries(pixelgadget PUBLIC
|
|
Qt::Core
|
|
Qt::Gui
|
|
Qt::Widgets
|
|
)
|
|
|