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
mediastreamer2
Commits
0ab25d36
Commit
0ab25d36
authored
Nov 02, 2015
by
Ghislain MARY
Browse files
Fix build with CMake on Mac OS X.
parent
0aa91d61
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
8 additions
and
2 deletions
+8
-2
src/CMakeLists.txt
src/CMakeLists.txt
+6
-2
tester/CMakeLists.txt
tester/CMakeLists.txt
+1
-0
tools/CMakeLists.txt
tools/CMakeLists.txt
+1
-0
No files found.
src/CMakeLists.txt
View file @
0ab25d36
...
...
@@ -247,14 +247,18 @@ if(ENABLE_VIDEO)
voip/ioshardware.m
)
else
()
set
(
OBJC_VOIP_SOURCE_FILES
videofilters/msosxdisplay.m
videofilters/qtcapture.m
)
list
(
APPEND VOIP_SOURCE_FILES
utils/opengles_display.c
utils/opengles_display.h
utils/shaders.c
utils/shaders.h
videofilters/msosxdisplay.m
videofilters/qtcapture.m
${
OBJC_VOIP_SOURCE_FILES
}
)
set_source_files_properties
(
${
OBJC_VOIP_SOURCE_FILES
}
PROPERTIES COMPILE_FLAGS
"-Wno-error=deprecated-declarations"
)
endif
()
endif
()
if
(
ENABLE_QNX
)
...
...
tester/CMakeLists.txt
View file @
0ab25d36
...
...
@@ -41,6 +41,7 @@ if(ENABLE_VIDEO)
endif
()
if
(
APPLE
)
list
(
APPEND SOURCE_FILES mediastreamer2_tester_cocoa.m
)
set_source_files_properties
(
mediastreamer2_tester_cocoa.m PROPERTIES COMPILE_FLAGS
"-Wno-error"
)
endif
()
add_executable
(
mediastreamer2_tester
${
SOURCE_FILES
}
)
...
...
tools/CMakeLists.txt
View file @
0ab25d36
...
...
@@ -44,6 +44,7 @@ endif()
set
(
MEDIASTREAM_SOURCE_FILES mediastream.c common.c
)
if
(
APPLE
)
list
(
APPEND MEDIASTREAM_SOURCE_FILES mediastream_cocoa.m
)
set_source_files_properties
(
mediastream_cocoa.m PROPERTIES COMPILE_FLAGS
"-Wno-error"
)
endif
()
add_executable
(
mediastream
${
MEDIASTREAM_SOURCE_FILES
}
)
target_link_libraries
(
mediastream mediastreamer_voip mediastreamer_base
)
...
...
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