diff --git a/CMakeLists.txt b/CMakeLists.txt index 1247425..59106b5 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -4,6 +4,9 @@ project(cpp11NHF1_refcountedString) set(CMAKE_CXX_STANDARD 14) set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wall -pedantic") +find_package (Threads REQUIRED) +link_libraries(${CMAKE_THREAD_LIBS_INIT}) + include(FindGTest) enable_testing() find_package(GTest REQUIRED)