From d72aa1e9754edae81306aa99a339daa71377b184 Mon Sep 17 00:00:00 2001 From: Nick Bolton Date: Tue, 8 Apr 2014 16:41:48 +0000 Subject: [PATCH] fixed: pthread linker error --- src/lib/arch/CMakeLists.txt | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/lib/arch/CMakeLists.txt b/src/lib/arch/CMakeLists.txt index eb651a19..399ebbe3 100644 --- a/src/lib/arch/CMakeLists.txt +++ b/src/lib/arch/CMakeLists.txt @@ -48,3 +48,7 @@ if (UNIX) endif() add_library(arch STATIC ${sources}) + +if (UNIX) + target_link_libraries(arch ${libs}) +endif()