浏览代码

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

Stasik0 9 年之前
父节点
当前提交
8f311b0f04
共有 1 个文件被更改,包括 1 次插入1 次删除
  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()