Skip to content

Commit

Permalink
removes -lpthread when building for QNX (#88)
Browse files Browse the repository at this point in the history
Signed-off-by: asobhy <asobhy@blackberry.com>
  • Loading branch information
asobhy-qnx committed Sep 3, 2020
1 parent 0a6c16e commit d0f6ad7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ foreach(GTEST_SOURCE_file ${tests})
gtest_main
gtest
console_bridge)
if (UNIX AND NOT ANDROID)
if (UNIX AND NOT ANDROID AND NOT QNX)
target_link_libraries(${BINARY_NAME} pthread)
endif()

Expand Down

0 comments on commit d0f6ad7

Please # to comment.