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
bd72aa90
Commit
bd72aa90
authored
Mar 02, 2015
by
Ghislain MARY
Browse files
Fix build of mediastream tool on Linux with CMake.
parent
f55705ca
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
1 deletion
+5
-1
tools/CMakeLists.txt
tools/CMakeLists.txt
+5
-1
No files found.
tools/CMakeLists.txt
View file @
bd72aa90
...
...
@@ -37,7 +37,11 @@ if (PCAP_FOUND)
target_link_libraries
(
pcap_playback
${
PCAP_LIBRARIES
}
)
endif
()
add_executable
(
mediastream mediastream.c common.c mediastream_cocoa.m
)
set
(
MEDIASTREAM_SOURCE_FILES mediastream.c common.c
)
if
(
APPLE
)
list
(
APPEND MEDIASTREAM_SOURCE_FILES mediastream_cocoa.m
)
endif
()
add_executable
(
mediastream
${
MEDIASTREAM_SOURCE_FILES
}
)
target_link_libraries
(
mediastream mediastreamer_voip mediastreamer_base
)
string
(
REPLACE
";"
" "
APPLE_SPECIFIC_LINK_FLAGS_STR
"
${
APPLE_SPECIFIC_LINK_FLAGS
}
"
)
if
(
NOT
"
${
APPLE_SPECIFIC_LINK_FLAGS_STR
}
"
STREQUAL
""
)
...
...
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