This website requires JavaScript.
Explore
Help
Sign In
1berry
/
qtbase
Watch
1
Star
0
Fork
0
You've already forked qtbase
Code
Issues
Pull Requests
Actions
Packages
Projects
Releases
Wiki
Activity
qtbase
/
cmake
/
QtFindWrapConfigExtra.cmake.in
5 lines
101 B
CMake
Raw
Permalink
Normal View
History
Unescape
Escape
Change license for .in files According to QUIP-18 [1], all build system files should be BSD-3-Clause. The files in this patch are part of the build system. [1]: https://contribute.qt-project.org/quips/18 Pick-to: 6.7 Task-number: QTBUG-121787 Change-Id: Ibc6a60a9b009fab0c953e8e3269533c121e4511e Reviewed-by: Kai Köhne <kai.koehne@qt.io>
2024-02-20 09:45:50 +01:00
# Copyright (C) 2024 The Qt Company Ltd.
# SPDX-License-Identifier: BSD-3-Clause
CMake: Handle conditions in third party find modules correctly Previously the FindWrap modules checked for hardcoded features when deciding whether to use a bundled library or not. This proved not to work correctly because features were not available when the find modules were processed. Introduce a new CMake API call that needs to be manually called after an add_subdirectory call which declares a bundled library. The call will check for the existence of the bundled target, and will then set a cache variable QT_USE_BUNDLED_Bundled<TargetName>. The same variable is written into a FindWrapFooConfigExtra.cmake file which will be loaded by the appropriate FindWrap module. The module can that use that variable to decided whether to link against the bundled library or the system library. Change-Id: I75e9a4f4e14d88d4490916a79ad12f1ce57891e0 Reviewed-by: Simon Hausmann <simon.hausmann@qt.io>
2020-03-05 13:15:34 +01:00
@
e
x
t
r
a
_
c
m
a
k
e
_
c
o
d
e
@
Reference in New Issue
Copy Permalink