diff options
author | Joerg Bornemann <joerg.bornemann@qt.io> | 2020-02-26 13:08:10 +0100 |
---|---|---|
committer | Joerg Bornemann <joerg.bornemann@qt.io> | 2020-03-05 07:48:01 +0100 |
commit | 20410cdc116c5015e5fe2ee3885d6466fba8827f (patch) | |
tree | b5eb82d35d2bf5d0a0d6cf0843ddd94009062836 /util/cmake | |
parent | becbd07f5529c88bf460f51e8ec5475ec8575fb7 (diff) |
CMake: Port the 'shared' feature
This feature is read-only and supposed to be set by BUILD_SHARED_LIBS.
It mainly exists for the qmake support.
Change-Id: I722b0de53211d0aab1924e45a77120c890f31f50
Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
Diffstat (limited to 'util/cmake')
-rwxr-xr-x | util/cmake/configurejson2cmake.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/util/cmake/configurejson2cmake.py b/util/cmake/configurejson2cmake.py index 8101697a55..135d26b9bf 100755 --- a/util/cmake/configurejson2cmake.py +++ b/util/cmake/configurejson2cmake.py @@ -756,7 +756,7 @@ def parseFeature(ctx, feature, data, cm_fh): "sanitize_thread": None, "sanitize_undefined": None, "separate_debug_info": None, - "shared": None, + "shared": {"condition": "BUILD_SHARED_LIBS"}, "silent": None, "sql-sqlite": {"condition": "QT_FEATURE_datestring AND SQLite3_FOUND"}, "static": None, |