Commit 0929db24 authored by Ghislain MARY's avatar Ghislain MARY

Fix definition of LINPHONE_CPPFLAGS.

parent 96c3cfa3
......@@ -241,11 +241,14 @@ if(MSVC)
endif()
add_definitions("-DLINPHONE_EXPORTS")
set(LINPHONE_CPPFLAGS ${MEDIASTREAMER2_CPPFLAGS})
set(LINPHONE_CPPFLAGS ${BELCARD_CPPFLAGS} ${BELLESIP_CPPFLAGS} ${MEDIASTREAMER2_CPPFLAGS} ${BCTOOLBOX_CPPFLAGS})
if(ENABLE_STATIC)
list(APPEND LINPHONE_CPPFLAGS "-DLINPHONE_STATIC")
endif()
if(LINPHONE_CPPFLAGS)
add_definitions(${LINPHONE_CPPFLAGS})
endif()
if(ENABLE_DEBUG_LOGS)
add_definitions("-DDEBUG")
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