Add libpthread link to unit tests that require it.

This commit is contained in:
Ivar Ursin Nikolaisen
2012-08-27 15:22:03 +02:00
parent 543dce2ff0
commit 85c96b5567
2 changed files with 7 additions and 1 deletions

View File

@@ -52,6 +52,11 @@ add_executable( ${ProjectName}
)
target_link_libraries( ${ProjectName} ${LINK_LIBRARIES})
set( EXTERNAL_LINK_LIBRARIES
pthread
)
target_link_libraries( ${ProjectName} ${LINK_LIBRARIES} ${EXTERNAL_LINK_LIBRARIES})