1
0

0002-Fixup-pkgconfig-libs.patch 375 B

123456789101112131415
  1. diff --git a/CMakeLists.txt b/CMakeLists.txt
  2. index f377c428..07530304 100644
  3. --- a/CMakeLists.txt
  4. +++ b/CMakeLists.txt
  5. @@ -60,6 +60,9 @@ message(STATUS "Configuring ${PROJECT_NAME} ${PROJECT_VERSION}")
  6. # Find math library
  7. check_library_exists(m floor "" HAVE_LIBM)
  8. +if(HAVE_LIBM)
  9. + set(VORBIS_LIBS "-lm")
  10. +endif()
  11. # Find ogg dependency
  12. find_package(Ogg REQUIRED)