CMake: Fix condition of the ipc_posix feature
The ipc_posix feature was OFF despite the following test values: TEST_posix_shm ON TEST_posix_sem ON TEST_sysv_shm OFF TEST_sysv_sem OFF The 'NOT (TEST_sysv_shm AND TEST_sysv_sem)' part of the condition is not correctly evaluated. Resolve the parentheses to work around this issue. Pick-to: 6.6.0 6.6 Fixes: QTBUG-117052 Change-Id: Idac23d207f8dd644d059977ca41b6e32b17b3a49 Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
This commit is contained in:
parent
b629bdc085
commit
828770c60c
@ -481,7 +481,7 @@ qt_feature("ipc_posix"
|
||||
LABEL "Defaulting legacy IPC to POSIX"
|
||||
CONDITION TEST_posix_shm AND TEST_posix_sem AND (
|
||||
FEATURE_ipc_posix OR (APPLE AND QT_FEATURE_appstore_compliant)
|
||||
OR NOT (TEST_sysv_shm AND TEST_sysv_sem)
|
||||
OR NOT TEST_sysv_shm OR NOT TEST_sysv_sem
|
||||
)
|
||||
)
|
||||
qt_feature_definition("ipc_posix" "QT_POSIX_IPC")
|
||||
|
Loading…
Reference in New Issue
Block a user