We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d3b3b3e commit ed2fae6Copy full SHA for ed2fae6
1 file changed
test/CMakeLists.txt
@@ -78,6 +78,12 @@ if(TEST)
78
)
79
80
if(NOT gtest_disable_pthreads)
81
+ find_package(Threads)
82
+ # if(Threads_FOUND)
83
+ # message(STATUS "Found Threads: ${CMAKE_THREAD_LIBS_INIT}")
84
+ # else()
85
+ # message(FATAL_ERROR "CXXGraph: Failed to find Threads library")
86
+ # endif()
87
target_link_libraries(test_exe PUBLIC Threads::Threads)
88
endif(NOT gtest_disable_pthreads)
89
0 commit comments