Kaynağa Gözat

adding some explicit linking dependencies to unit tests, fixes #388

Stasik0 9 yıl önce
ebeveyn
işleme
8f311b0f04
1 değiştirilmiş dosya ile 1 ekleme ve 1 silme
  1. 1 1
      tests/CMakeLists.txt

+ 1 - 1
tests/CMakeLists.txt

@@ -8,7 +8,7 @@ find_package(Threads REQUIRED)
 
 set(LIBS ${CHECK_LIBRARIES})
 if(NOT WIN32)
-  list(APPEND LIBS pthread)
+  list(APPEND LIBS pthread m subunit)
   if (NOT APPLE)
     list(APPEND LIBS rt)
   endif()