diff options
| author | Alexey Edelev <alexey.edelev@qt.io> | 2023-07-06 21:11:58 +0200 |
|---|---|---|
| committer | Alexey Edelev <alexey.edelev@qt.io> | 2023-08-04 14:36:50 +0200 |
| commit | 674134f08df0aa2d5863f3844b58d62368261174 (patch) | |
| tree | 18658271a41e52f127c97aede5021449e96aa118 /src/concurrent/qtconcurrentrun.cpp | |
| parent | ce8874fc3b0bab2066080315c8774b30c038862c (diff) | |
Consider BUILD_SHARED_LIBS when adding libraries using _qt_internal_add_library
It does look safe to consider the value of BUILD_SHARED_LIBS in
_qt_internal_add_library. Current behavior might confuse users that
specify BUILD_SHARED_LIBS explicitly but get the library types
according to Qt build type.
[ChangeLog][CMake] qt6_add_library now considers the value of the
BUILD_SHARED_LIBS variable. If the variable is DEFINED it has
higher priority than the library type detecting logic in
qt6_add_library when adding the library targets.
Change-Id: I1c40e887c4e481424a596c870a8ff2784b08fcbb
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
Reviewed-by: Joerg Bornemann <joerg.bornemann@qt.io>
Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
Diffstat (limited to 'src/concurrent/qtconcurrentrun.cpp')
0 files changed, 0 insertions, 0 deletions
