Fix check for aliases

Amends 4bbd324a0a4a488b9ff4272888cc6b7f516d78ff

Change-Id: I1b887c17a442398695fdebc20c7b54b068061f24
Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
This commit is contained in:
Cristian Le 2025-05-05 16:41:03 +02:00
parent 36d92169f3
commit 6ccee802a9

View File

@ -485,7 +485,7 @@ function(_qt_feature_check_feature_alias feature)
return()
endif()
# Check if all values are consistent
list(TRANSFORM REMOVE_DUPLICATES expected_value)
list(REMOVE_DUPLICATES expected_value)
list(LENGTH expected_value expected_value_length)
if(expected_value_length GREATER 1)
string(CONCAT msg