Commit 7a156039 authored by Ghislain MARY's avatar Ghislain MARY

Export correct library when building with CMake.

parent 1be18ba6
......@@ -51,7 +51,11 @@ if(LINPHONE_BUILDER_GROUP_EXTERNAL_SOURCE_PATH_BUILDERS)
else()
set(BELLESIP_INCLUDE_DIRS "${BELLESIP_CMAKE_DIR}/../../../include")
endif()
set(BELLESIP_LIBRARIES bellesip)
if(@ENABLE_SHARED@)
set(BELLESIP_LIBRARIES bellesip)
else()
set(BELLESIP_LIBRARIES bellesip-static)
endif()
list(APPEND BELLESIP_INCLUDE_DIRS ${BCTOOLBOX_INCLUDE_DIRS})
list(APPEND BELLESIP_LIBRARIES ${BCTOOLBOX_LIBRARIES})
set(BELLESIP_LDFLAGS "@LINK_FLAGS_STR@")
......
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