Kaynağa Gözat

Search for pthreads library when compiling the Larson benchmark.

Ioannis Koutras 14 yıl önce
ebeveyn
işleme
2d917785b5
1 değiştirilmiş dosya ile 1 ekleme ve 0 silme
  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})