Commit b68f3291 authored by Erwan Croze's avatar Erwan Croze 👋🏻

Add lib m dependency

parent d592f14f
......@@ -64,6 +64,7 @@ else()
find_package(ORTP REQUIRED)
endif()
find_library(LIBM NAMES m)
if(ENABLE_AEC)
set(BUILD_AEC 1)
......@@ -362,6 +363,10 @@ endif()
set(LIBS ${MEDIASTREAMER2_LIBRARIES} ${ORTP_LIBRARIES})
if(LIBM)
list(APPEND LIBS ${LIBM})
endif()
if(ENABLE_STATIC)
add_library(mswebrtc-static STATIC ${SOURCE_FILES})
set_target_properties(mswebrtc-static PROPERTIES OUTPUT_NAME mswebrtc)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment