added pthread to CMakeLists.txt, it seems like it's needed on linux
This commit is contained in:
parent
0bf31cb6e4
commit
a9307e5657
@ -4,6 +4,9 @@ project(cpp11NHF1_refcountedString)
|
|||||||
set(CMAKE_CXX_STANDARD 14)
|
set(CMAKE_CXX_STANDARD 14)
|
||||||
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wall -pedantic")
|
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wall -pedantic")
|
||||||
|
|
||||||
|
find_package (Threads REQUIRED)
|
||||||
|
link_libraries(${CMAKE_THREAD_LIBS_INIT})
|
||||||
|
|
||||||
include(FindGTest)
|
include(FindGTest)
|
||||||
enable_testing()
|
enable_testing()
|
||||||
find_package(GTest REQUIRED)
|
find_package(GTest REQUIRED)
|
||||||
|
Loading…
Reference in New Issue
Block a user