mirror of
https://github.com/KhronosGroup/glslang
synced 2024-11-09 12:00:05 +00:00
glslang: Do not link with pthread on QNX
On QNX, pthread APIs are provided as part of libc and a separate pthread library does not exist. This change updates the makefile of glslang to not link with pthread on QNX, thereby enabling glslang to be built for QNX platforms.
This commit is contained in:
parent
dfc97740ff
commit
bc6b2bc17a
@ -1,4 +1,4 @@
|
||||
# Copyright (C) 2020 The Khronos Group Inc.
|
||||
# Copyright (C) 2020-2023 The Khronos Group Inc.
|
||||
#
|
||||
# All rights reserved.
|
||||
#
|
||||
@ -65,7 +65,7 @@ endif()
|
||||
if(WIN32)
|
||||
set(LIBRARIES ${LIBRARIES} psapi)
|
||||
elseif(UNIX)
|
||||
if(NOT ANDROID)
|
||||
if(NOT ANDROID AND NOT QNX)
|
||||
set(LIBRARIES ${LIBRARIES} pthread)
|
||||
endif()
|
||||
endif()
|
||||
|
Loading…
Reference in New Issue
Block a user