CMake: QtFeature optimization
Remove some unnecessary sorting, speeding up cmake by about 10s on my machine Change-Id: Ieafbd16f6dd8cfe6d1af3c739bfe58e8bf724441 Reviewed-by: Simon Hausmann <simon.hausmann@qt.io>
This commit is contained in:
parent
235769d56b
commit
3ec578020c
@ -438,8 +438,6 @@ endfunction()
|
||||
|
||||
macro(qt_push_features_into_parent_scope)
|
||||
get_cmake_property(_variableNames VARIABLES)
|
||||
list (SORT _variableNames)
|
||||
list(REMOVE_DUPLICATES _variableNames)
|
||||
|
||||
foreach(_var IN ITEMS ${_variableNames})
|
||||
if(_var MATCHES "^QT_FEATURE_[a-z][a-z0-9_]*$")
|
||||
|
Loading…
x
Reference in New Issue
Block a user