CMake Build: Do not link to pthread for QNX for cxx11_future detection
Similar to Android QNX doesn't have pthread as a sepparate library. Task-number: QTBUG-83202 Change-Id: I8e55d4b6d2b4e2162c264f897019d88c15319ebb Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
This commit is contained in:
parent
22eb544ebf
commit
535c6de9c4
@ -121,7 +121,7 @@ int pipes[2];
|
||||
|
||||
# special case begin
|
||||
# cxx11_future
|
||||
if (UNIX AND NOT ANDROID)
|
||||
if (UNIX AND NOT ANDROID AND NOT QNX)
|
||||
set(cxx11_future_TEST_LIBRARIES pthread)
|
||||
endif()
|
||||
qt_config_compile_test(cxx11_future
|
||||
|
Loading…
Reference in New Issue
Block a user