summaryrefslogtreecommitdiffstats
path: root/examples/widgets/tools/styleplugin/CMakeLists.txt
blob: 997f4f7161ec347668edcafd96ff809babf63e31 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
# Copyright (C) 2022 The Qt Company Ltd.
# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR BSD-3-Clause

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)