Explorar o código

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

Stasik0 %!s(int64=9) %!d(string=hai) anos
pai
achega
8f311b0f04
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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()