Skip to content

Commit

Permalink
add -lm on UNIX systems
Browse files Browse the repository at this point in the history
This fixes a Debian packaging issue.
  • Loading branch information
andrewrk committed Feb 17, 2014
1 parent 1214547 commit f68096c
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions ebur128/CMakeLists.txt
Expand Up @@ -47,6 +47,9 @@ set_target_properties(ebur128 PROPERTIES
SOVERSION ${EBUR128_VERSION_MAJOR}
VERSION ${EBUR128_VERSION})

if(UNIX)
target_link_libraries(ebur128 -lm)
endif(UNIX)

if(SPEEXDSP_FOUND AND NOT DISABLE_SPEEXDSP)
set_property(TARGET ebur128_static APPEND_STRING PROPERTY
Expand Down

0 comments on commit f68096c

Please sign in to comment.