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
813aa616
Commit
813aa616
authored
Dec 16, 2015
by
Ghislain MARY
Browse files
Define MEDIASTREAMER2_LDFLAGS as a string in CMake.
parent
3244b9d1
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
1 deletion
+2
-1
CMakeLists.txt
CMakeLists.txt
+1
-0
cmake/Mediastreamer2Config.cmake.in
cmake/Mediastreamer2Config.cmake.in
+1
-1
No files found.
CMakeLists.txt
View file @
813aa616
...
...
@@ -468,6 +468,7 @@ if(APPLE)
add_definitions
(
"-DTARGET_OS_MAC=1"
)
endif
()
endif
()
string
(
REPLACE
";"
" "
LINK_FLAGS_STR
"
${
LINK_FLAGS
}
"
)
configure_file
(
${
CMAKE_CURRENT_SOURCE_DIR
}
/mediastreamer-config.h.cmake
${
CMAKE_CURRENT_BINARY_DIR
}
/mediastreamer-config.h
)
set_source_files_properties
(
${
CMAKE_CURRENT_BINARY_DIR
}
/mediastreamer-config.h PROPERTIES GENERATED ON
)
add_definitions
(
"-DHAVE_CONFIG_H"
)
...
...
cmake/Mediastreamer2Config.cmake.in
View file @
813aa616
...
...
@@ -60,5 +60,5 @@ if(BZRTP_FOUND)
list(APPEND MEDIASTREAMER2_LIBRARIES ${BZRTP_LIBRARIES})
endif()
set(MEDIASTREAMER2_CPPFLAGS ${ORTP_CPPFLAGS})
set(MEDIASTREAMER2_LDFLAGS @LINK_FLAGS
@
)
set(MEDIASTREAMER2_LDFLAGS
"
@LINK_FLAGS
_STR@"
)
set(MEDIASTREAMER2_FOUND 1)
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