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
71043425
Commit
71043425
authored
Mar 02, 2015
by
Ghislain MARY
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix link of mediastreamer2_tester on Mac OS X.
parent
bd9a212e
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
1 deletion
+5
-1
CMakeLists.txt
CMakeLists.txt
+1
-1
tester/CMakeLists.txt
tester/CMakeLists.txt
+4
-0
No files found.
CMakeLists.txt
View file @
71043425
...
...
@@ -386,7 +386,7 @@ if(APPLE)
list
(
APPEND APPLE_SPECIFIC_LINK_FLAGS
"-framework Cocoa"
"-framework OpenGL"
"-framework QuartzCore"
"-framework QTKit"
)
endif
()
if
(
ENABLE_MACSND
)
list
(
APPEND APPLE_SPECIFIC_LINK_FLAGS
"-framework Carbon"
"-framework AudioUnit"
"-framework CoreAudio
-framework CoreServices"
)
list
(
APPEND APPLE_SPECIFIC_LINK_FLAGS
"-framework Carbon"
"-framework AudioUnit"
"-framework CoreAudio
"
"
-framework CoreServices"
)
endif
()
set
(
PLUGINS_EXT
".dylib"
)
add_definitions
(
-DTARGET_OS_MAC=1
)
...
...
tester/CMakeLists.txt
View file @
71043425
...
...
@@ -42,3 +42,7 @@ endif()
add_executable
(
mediastreamer2_tester
${
SOURCE_FILES
}
)
target_include_directories
(
mediastreamer2_tester PUBLIC
${
CUNIT_INCLUDE_DIRS
}
)
target_link_libraries
(
mediastreamer2_tester mediastreamer_voip mediastreamer_base
${
CUNIT_LIBRARIES
}
)
string
(
REPLACE
";"
" "
APPLE_SPECIFIC_LINK_FLAGS_STR
"
${
APPLE_SPECIFIC_LINK_FLAGS
}
"
)
if
(
NOT
"
${
APPLE_SPECIFIC_LINK_FLAGS_STR
}
"
STREQUAL
""
)
set_target_properties
(
mediastreamer2_tester PROPERTIES LINK_FLAGS
${
APPLE_SPECIFIC_LINK_FLAGS_STR
}
)
endif
()
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