Skip to content

Commit

Permalink
Don't link against pthread on Android (#47)
Browse files Browse the repository at this point in the history
  • Loading branch information
davidhodo authored and scpeters committed Aug 16, 2017
1 parent 15eb3ea commit 8c3c625
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 @@ -44,7 +44,7 @@ foreach(GTEST_SOURCE_file ${tests})
gtest_main
gtest
console_bridge)
if (UNIX)
if (UNIX AND NOT ANDROID)
target_link_libraries(${BINARY_NAME} pthread)
endif()

Expand Down

0 comments on commit 8c3c625

Please sign in to comment.