aboutsummaryrefslogtreecommitdiffstats
path: root/sources/pyside-tools/cmake/PySideToolsSetup.cmake
blob: 93b39460df8314f10e2415a8b9e9e93103064f0e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
# Copyright (C) 2023 The Qt Company Ltd.
# SPDX-License-Identifier: BSD-3-Clause

list(APPEND CMAKE_MODULE_PATH "${CMAKE_CURRENT_LIST_DIR}")

include(PySideToolsHelpers)

pyside_tools_internal_detect_if_cross_building()
pyside_tools_internal_set_up_extra_dependency_paths()

find_package(Qt6 REQUIRED COMPONENTS Core HostInfo)

# Don't display "up-to-date / install" messages when installing, to reduce visual clutter.
if (QUIET_BUILD)
    set(CMAKE_INSTALL_MESSAGE NEVER)
endif()