pthreads...

This commit is contained in:
Christian Zimmermann 2017-11-20 22:30:07 +01:00
parent 8e297d85d8
commit b9152a3ae7

View file

@ -13,6 +13,13 @@ else()
message(FATAL_ERROR "GTest not found") message(FATAL_ERROR "GTest not found")
endif() endif()
find_package(Threads REQUIRED)
if(Threads_FOUND)
include_directories(${Threads_INCLUDE_DIRS})
else()
message(FATAL_ERROR "Threads not found")
endif()
include_directories(src) include_directories(src)
#add_executable(utest src/unit_test.cc) #add_executable(utest src/unit_test.cc)