CMake: Replace QT_FEATURE_shared with BUILD_SHARED_LIBS
Change-Id: I7f3efde01a98cd6a25de661624afbf7eda2c57af Reviewed-by: Frederik Gladhorn <frederik.gladhorn@qt.io>
This commit is contained in:
parent
89368f5b26
commit
df2975236d
@ -212,7 +212,7 @@ qt_feature("force_asserts" PUBLIC
|
||||
)
|
||||
qt_feature("framework" PUBLIC
|
||||
LABEL "Build Apple Frameworks"
|
||||
CONDITION APPLE AND QT_FEATURE_shared
|
||||
CONDITION APPLE AND BUILD_SHARED_LIBS
|
||||
)
|
||||
qt_feature_definition("framework" "QT_MAC_FRAMEWORK_BUILD")
|
||||
qt_feature("largefile" PUBLIC
|
||||
|
@ -643,6 +643,7 @@ def parseFeature(ctx, feature, data, cm_fh):
|
||||
'enable_gdb_index': None,
|
||||
'enable_new_dtags': None,
|
||||
'force_debug_info': None,
|
||||
'framework': { 'condition': 'APPLE AND BUILD_SHARED_LIBS', },
|
||||
'gc_binaries': None,
|
||||
'gcc-sysroot': None,
|
||||
'gcov': None,
|
||||
|
Loading…
Reference in New Issue
Block a user