Commit 1cd097a0 authored by Ghislain MARY's avatar Ghislain MARY

Define BELLESIP_LDFLAGS as a string in CMake.

parent 48799f31
......@@ -206,6 +206,7 @@ if(APPLE)
list(APPEND LINK_FLAGS "-framework CoreFoundation" "-framework CFNetwork" "-framework UIKit")
endif()
endif()
string(REPLACE ";" " " LINK_FLAGS_STR "${LINK_FLAGS}")
if(WIN32)
add_definitions(
-DBELLESIP_EXPORTS
......
......@@ -47,7 +47,7 @@ else()
set(BELLESIP_INCLUDE_DIRS "${BELLESIP_CMAKE_DIR}/../../../include")
endif()
set(BELLESIP_LIBRARIES bellesip)
set(BELLESIP_LDFLAGS @LINK_FLAGS@)
set(BELLESIP_LDFLAGS "@LINK_FLAGS_STR@")
if(TUNNEL_FOUND)
list(APPEND BELLESIP_INCLUDE_DIRS ${TUNNEL_INCLUDE_DIRS})
list(APPEND BELLESIP_LIBRARIES ${TUNNEL_LIBRARIES})
......
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