diff options
author | Tobias Hunger <tobias.hunger@qt.io> | 2019-01-10 11:28:51 +0100 |
---|---|---|
committer | Tobias Hunger <tobias.hunger@qt.io> | 2019-01-17 08:34:02 +0000 |
commit | 3ec578020c9e088c7356da07d9112ece37bbf496 (patch) | |
tree | 4ab62a5d049b945d358f60dce190c096d47bdb06 /cmake | |
parent | 235769d56b38647b196d0d61099aae3c6dcc023f (diff) |
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>
Diffstat (limited to 'cmake')
-rw-r--r-- | cmake/QtFeature.cmake | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/cmake/QtFeature.cmake b/cmake/QtFeature.cmake index 4af38e20e3..7b8f11e896 100644 --- a/cmake/QtFeature.cmake +++ b/cmake/QtFeature.cmake @@ -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_]*$") |