summaryrefslogtreecommitdiffstats
path: root/examples/widgets/tools/styleplugin/CMakeLists.txt
blob: ab083d362e9d0e5e5e6cfe3479428ee621f2f272 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
cmake_minimum_required(VERSION 3.16)
project(styleplugin LANGUAGES CXX)

set(CMAKE_AUTOMOC ON)

if(NOT DEFINED INSTALL_EXAMPLESDIR)
    set(INSTALL_EXAMPLESDIR "examples")
endif()

set(INSTALL_EXAMPLEDIR "${INSTALL_EXAMPLESDIR}/widgets/tools/styleplugin")

find_package(Qt6 REQUIRED COMPONENTS Widgets)

add_subdirectory(stylewindow)
add_subdirectory(plugin)