瀏覽代碼

Travis-CI: Added missing bsd library to satisfy str*() functions.

Ingwie Phoenix 6 年之前
父節點
當前提交
09e59da4de
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      CMakeLists.txt

+ 1 - 1
CMakeLists.txt

@@ -29,7 +29,7 @@ elseif(${CMAKE_SYSTEM_NAME} MATCHES "Darwin")
 elseif(${CMAKE_SYSTEM_NAME} MATCHES "NetBSD")
     LIST(APPEND LIBS "m")
 elseif(${CMAKE_SYSTEM_NAME} MATCHES "Linux")
-    LIST(APPEND LIBS "m" "rt")
+    LIST(APPEND LIBS "m" "rt" "bsd")
 endif()
 
 ADD_EXECUTABLE(gravity ${GRAVITY_SRC} $<TARGET_OBJECTS:libgravity>)