Explorar o código

Search for pthreads library when compiling the Larson benchmark.

Ioannis Koutras %!s(int64=13) %!d(string=hai) anos
pai
achega
2d917785b5
Modificáronse 1 ficheiros con 1 adicións e 0 borrados
  1. 1 0
      examples/CMakeLists.txt

+ 1 - 0
examples/CMakeLists.txt

@@ -7,5 +7,6 @@ include_directories(
 add_executable(test test.c)
 target_link_libraries(test ${DMMLIB_SHARED_LIBRARY})
 
+find_package (Threads)
 add_executable(larson larson.c)
 target_link_libraries(larson ${DMMLIB_SHARED_LIBRARY} ${CMAKE_THREAD_LIBS_INIT})