From e02fbd37ab987080ef4ab5623f59e268ba436713 Mon Sep 17 00:00:00 2001 From: Tycho Bickerstaff Date: Thu, 19 Dec 2013 00:15:30 +0000 Subject: added pthread linking code to OSSupport --- src/OSSupport/CMakeLists.txt | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/OSSupport/CMakeLists.txt b/src/OSSupport/CMakeLists.txt index 8eeff9d9b..497cd0ba3 100644 --- a/src/OSSupport/CMakeLists.txt +++ b/src/OSSupport/CMakeLists.txt @@ -8,3 +8,7 @@ file(GLOB SOURCE ) add_library(OSSupport ${SOURCE}) + +if(UNIX) + target_link_libraries(OSSupport pthread) +endif() -- cgit v1.2.3