Parcourir la source

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

Ingwie Phoenix il y a 6 ans
Parent
commit
09e59da4de
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  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>)