summaryrefslogtreecommitdiffstats
path: root/examples/widgets/tools/echoplugin/CMakeLists.txt
blob: 6ce59af6cd0d5fa903adf4430176953ea68523eb (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(plugandpaint LANGUAGES CXX)

set(CMAKE_AUTOMOC ON)

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

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

find_package(Qt6 REQUIRED COMPONENTS Core Gui Widgets)

add_subdirectory(plugin)
add_subdirectory(echowindow)