19 lines
335 B
CMake
19 lines
335 B
CMake
|
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
|
||
|
)
|
||
|
|