Commit a9817689 authored by Ghislain MARY's avatar Ghislain MARY

Fix definition of MEDIASTREAMER2_CPPFLAGS.

parent 989765b2
......@@ -552,11 +552,15 @@ configure_file(${CMAKE_CURRENT_SOURCE_DIR}/mediastreamer-config.h.cmake ${CMAKE_
set_source_files_properties(${CMAKE_CURRENT_BINARY_DIR}/mediastreamer-config.h PROPERTIES GENERATED ON)
add_definitions("-DHAVE_CONFIG_H")
set(MEDIASTREAMER2_CPPFLAGS ${ORTP_CPPFLAGS})
set(MEDIASTREAMER2_CPPFLAGS ${ORTP_CPPFLAGS} ${BZRTP_CPPFLAGS} ${BCTOOLBOX_CPPFLAGS})
if(ENABLE_STATIC)
list(APPEND MEDIASTREAMER2_CPPFLAGS "-DMS2_STATIC")
endif()
list(REMOVE_DUPLICATES MEDIASTREAMER2_CPPFLAGS)
if(MEDIASTREAMER2_CPPFLAGS)
add_definitions(${MEDIASTREAMER2_CPPFLAGS})
endif()
if(ANDROID)
add_definitions("-DANDROID")
endif()
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment