Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
BC
public
mswebrtc
Commits
b68f3291
Commit
b68f3291
authored
Apr 26, 2017
by
Erwan Croze
👋🏻
Browse files
Add lib m dependency
parent
d592f14f
Changes
1
Hide whitespace changes
Inline
Side-by-side
CMakeLists.txt
View file @
b68f3291
...
...
@@ -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
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment