0001-Add-missing-lm-dep.patch 419 B

12345678910111213141516
  1. diff --git a/CMakeLists.txt b/CMakeLists.txt
  2. index 694cc8c..ad8fef3 100644
  3. --- a/CMakeLists.txt
  4. +++ b/CMakeLists.txt
  5. @@ -19,7 +19,8 @@ pkg_check_modules(GTHREAD REQUIRED "gthread-2.0 >= 2.14.0")
  6. add_definitions(${DEPS_CFLAGS})
  7. -link_libraries(${DEPS_LIBRARIES} ${GTHREAD_LIBRARIES})
  8. +find_library(M_LIB m)
  9. +link_libraries(${DEPS_LIBRARIES} ${GTHREAD_LIBRARIES} ${M_LIB})
  10. link_directories(${DEPS_LIBRARY_DIRS})
  11. --