qt5base-lts/examples/widgets/tools/plugandpaint/CMakeLists.txt

18 lines
398 B
CMake
Raw Normal View History

cmake_minimum_required(VERSION 3.16)
project(plugandpaint LANGUAGES CXX)
find_package(Qt6 COMPONENTS Core Gui Widgets)
set(CMAKE_AUTOMOC ON)
set(CMAKE_AUTORCC ON)
set(CMAKE_AUTOUIC ON)
if(NOT DEFINED INSTALL_EXAMPLESDIR)
set(INSTALL_EXAMPLESDIR "examples")
endif()
set(INSTALL_EXAMPLEDIR "${INSTALL_EXAMPLESDIR}/widgets/tools/plugandpaint")
add_subdirectory(plugins)
add_subdirectory(app)