Commit f38ccbc8 authored by Ghislain MARY's avatar Ghislain MARY

Export correct libraries when building with CMake.

parent bc2d0a04
......@@ -41,7 +41,11 @@ endif()
get_filename_component(LINPHONE_CMAKE_DIR "${CMAKE_CURRENT_LIST_FILE}" PATH)
set(LINPHONE_INCLUDE_DIRS "${LINPHONE_CMAKE_DIR}/../../../include")
set(LINPHONE_LIBRARIES linphone)
if(@ENABLE_SHARED@)
set(LINPHONE_LIBRARIES linphone)
else()
set(LINPHONE_LIBRARIES linphone-static)
endif()
set(LINPHONE_LDFLAGS @LINK_FLAGS@)
list(APPEND LINPHONE_INCLUDE_DIRS ${MEDIASTREAMER2_INCLUDE_DIRS} ${BELLESIP_INCLUDE_DIRS})
list(APPEND LINPHONE_LIBRARIES ${MEDIASTREAMER2_LIBRARIES} ${BELLESIP_LIBRARIES})
......
mediastreamer2 @ 685beb16
Subproject commit 83ace6b88dfa819b04c2dc6bca21961f457c90d6
Subproject commit 685beb165ee050e38ea33eb0e4a1d6a87f7b5520
oRTP @ de0aee3f
Subproject commit 92b6ef1cf4884699f07a212f8ceeb06f284fae2c
Subproject commit de0aee3f2024cfd1a24fee5f4ed56be5a2032206
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