add pthread dependency for gtest-based tests for non-Windows platforms

This commit is contained in:
erwincoumans
2015-11-24 16:54:04 -08:00
parent 4c3d32bf48
commit 1826f11fbc
2 changed files with 6 additions and 0 deletions

View File

@@ -13,6 +13,9 @@ LINK_LIBRARIES(
LinearMath gtest
)
IF (NOT WIN32)
LINK_LIBRARIES( pthread )
ENDIF()
ADD_EXECUTABLE(Test_Collision
main.cpp