Ver código fonte

Search for pthreads library when compiling the Larson benchmark.

Ioannis Koutras 15 anos atrás
pai
commit
2d917785b5
1 arquivos alterados com 1 adições e 0 exclusões
  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})