Forráskód Böngészése

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

Stasik0 9 éve
szülő
commit
8f311b0f04
1 módosított fájl, 1 hozzáadás és 1 törlés
  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()