qtbase/cmake/QtAutoDetect.cmake
Alexandru Croitor de9c39e035 CMake: Move QtAutoDetect.cmake functions into a separate Helpers file
And automatically include and install it in all qt builds.
We will use some of its functions for enforcing apple sdk
requirements when building Qt.

There were a few more conflicts in 6.5 branch due to missing
cherry-picks. Because most of them were behavior changes, instead of
picking them, I just adjusted the refactoring to the existing code.

Change-Id: I46383bc857430d35314dfa2ebef9eb342fb63560
Reviewed-by: Tor Arne Vestbø <tor.arne.vestbo@qt.io>
Reviewed-by: Amir Masoud Abdol <amir.abdol@qt.io>
(cherry picked from commit ba9d45088f966430a814e7af36a8e7657d61e6db)
(cherry picked from commit e45d618002939b2164a30f4d14e549088dfcebab)
Reviewed-by: Alexey Edelev <alexey.edelev@qt.io>
2023-12-07 16:29:00 +01:00

6 lines
176 B
CMake

# Copyright (C) 2022 The Qt Company Ltd.
# SPDX-License-Identifier: BSD-3-Clause
include("${CMAKE_CURRENT_LIST_DIR}/QtAutoDetectHelpers.cmake")
qt_internal_setup_autodetect()