Add QNX as a platform to the cmake build files
This commit is contained in:
committed by
Ryan C. Gordon
parent
8029a767ee
commit
b47eeb8488
@@ -807,6 +807,8 @@ macro(CheckPTHREAD)
|
||||
elseif(EMSCRIPTEN)
|
||||
set(PTHREAD_CFLAGS "-D_REENTRANT -pthread")
|
||||
set(PTHREAD_LDFLAGS "-pthread")
|
||||
elseif(QNX)
|
||||
# pthread support is baked in
|
||||
else()
|
||||
set(PTHREAD_CFLAGS "-D_REENTRANT")
|
||||
set(PTHREAD_LDFLAGS "-lpthread")
|
||||
|
||||
Reference in New Issue
Block a user