pthreads...
This commit is contained in:
parent
8e297d85d8
commit
b9152a3ae7
1 changed files with 7 additions and 0 deletions
|
@ -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)
|
||||||
|
|
Loading…
Reference in a new issue