diff options
author | Xenosoz Hwang <xenosoz.hwang@gmail.com> | 2014-11-22 11:13:46 +0900 |
---|---|---|
committer | ipknHama <ipknhama@gmail.com> | 2014-12-12 05:38:29 +0900 |
commit | 2e67eff80ebf884b6185758ad37236009ec2f649 (patch) | |
tree | 55d2e8d1df0ee29f10df379cea48cd3817d2e775 /tests | |
parent | ad654da7115353baef19a4c87f53d4b88c02d4e5 (diff) | |
download | crow-2e67eff80ebf884b6185758ad37236009ec2f649.tar.gz crow-2e67eff80ebf884b6185758ad37236009ec2f649.zip |
Add missing dynamic shared object info
A linker option '-lpthread' was required on my Gentoo system.
Diffstat (limited to 'tests')
-rw-r--r-- | tests/CMakeLists.txt | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/CMakeLists.txt b/tests/CMakeLists.txt index 5ea48f1..65ab230 100644 --- a/tests/CMakeLists.txt +++ b/tests/CMakeLists.txt @@ -8,7 +8,8 @@ unittest.cpp add_executable(unittest ${TEST_SRCS}) #target_link_libraries(unittest crow) -target_link_libraries(unittest ${Boost_LIBRARIES} ) +target_link_libraries(unittest ${Boost_LIBRARIES}) +target_link_libraries(unittest ${CMAKE_THREAD_LIBS_INIT}) if ("${CMAKE_CXX_COMPILER_ID}" STREQUAL "Clang") # using Clang |