qt5base-lts/tests/manual/highdpi/dprgadget/CMakeLists.txt

19 lines
329 B
CMake
Raw Normal View History

cmake_minimum_required(VERSION 3.14)
project(dprgadget 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(dprgadget
main.cpp
)
target_link_libraries(dprgadget PUBLIC
Qt::Core
Qt::Gui
Qt::Widgets
)