Procházet zdrojové kódy

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

Stasik0 před 9 roky
rodič
revize
8f311b0f04
1 změnil soubory, kde provedl 1 přidání a 1 odebrání
  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()