Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
BC
public
mediastreamer2
Commits
81615627
Commit
81615627
authored
Feb 25, 2015
by
Ghislain MARY
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix build for bb10.
parent
00ab040a
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
16 additions
and
7 deletions
+16
-7
CMakeLists.txt
CMakeLists.txt
+5
-7
cmake/FindOpus.cmake
cmake/FindOpus.cmake
+11
-0
No files found.
CMakeLists.txt
View file @
81615627
...
...
@@ -269,17 +269,15 @@ endif()
include_directories
(
include/
src/audiofilters/
src/utils/
include
src/audiofilters
src/utils
src/voip
${
CMAKE_CURRENT_BINARY_DIR
}
${
CMAKE_CURRENT_BINARY_DIR
}
/src
/
${
CMAKE_CURRENT_BINARY_DIR
}
/src
${
ORTP_INCLUDE_DIRS
}
)
if
(
ENABLE_VIDEO
)
include_directories
(
src/voip
)
endif
()
if
(
SRTP_FOUND
)
include_directories
(
${
SRTP_INCLUDE_DIRS
}
)
endif
()
...
...
cmake/FindOpus.cmake
View file @
81615627
...
...
@@ -46,6 +46,17 @@ find_library(OPUS_LIBRARIES
PATH_SUFFIXES bin lib
)
if
(
OPUS_LIBRARIES
)
find_library
(
LIBM
NAMES m
HINTS _OPUS_ROOT_PATHS
PATH_SUFFIXES bin lib
)
if
(
LIBM
)
list
(
APPEND OPUS_LIBRARIES
${
LIBM
}
)
endif
()
endif
()
include
(
FindPackageHandleStandardArgs
)
find_package_handle_standard_args
(
Opus
DEFAULT_MSG
...
...
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