Commit d559c5db authored by Ghislain MARY's avatar Ghislain MARY

Disable strict compilation for IOS.

parent f751e41c
......@@ -36,6 +36,12 @@ if(MSVC)
endif()
set(EP_bellesip_CMAKE_OPTIONS "-DENABLE_RTP_MAP_ALWAYS_IN_SDP=${ENABLE_RTP_MAP_ALWAYS_IN_SDP}")
# TODO: Activate strict compilation options on IOS
if(IOS)
list(APPEND EP_bellesip_CMAKE_OPTIONS "-DENABLE_STRICT=NO")
endif()
list(APPEND EP_bellesip_CMAKE_OPTIONS "-DENABLE_TUNNEL=${ENABLE_TUNNEL}")
if(ENABLE_TUNNEL)
list(APPEND EP_bellesip_DEPENDENCIES EP_tunnel)
......
......@@ -46,6 +46,12 @@ set(EP_linphone_CMAKE_OPTIONS
"-DENABLE_NLS=${ENABLE_NLS}"
"-DENABLE_LIME=YES"
)
# TODO: Activate strict compilation options on IOS
if(IOS)
list(APPEND EP_linphone_CMAKE_OPTIONS "-DENABLE_STRICT=NO")
endif()
list(APPEND EP_linphone_CMAKE_OPTIONS "-DENABLE_TUNNEL=${ENABLE_TUNNEL}")
if(ENABLE_TUNNEL)
list(APPEND EP_linphone_DEPENDENCIES EP_tunnel)
......
......@@ -39,6 +39,11 @@ set(EP_ms2_CMAKE_OPTIONS
"-DENABLE_PCAP=${ENABLE_PCAP}"
)
# TODO: Activate strict compilation options on IOS
if(IOS)
list(APPEND EP_ms2_CMAKE_OPTIONS "-DENABLE_STRICT=NO")
endif()
list(APPEND EP_ms2_CMAKE_OPTIONS "-DENABLE_GSM=${ENABLE_GSM}")
if(ENABLE_GSM AND LINPHONE_BUILDER_BUILD_DEPENDENCIES)
list(APPEND EP_ms2_DEPENDENCIES EP_gsm)
......
......@@ -38,3 +38,9 @@ endif()
set(EP_ortp_SPEC_FILE "ortp.spec")
set(EP_ortp_CMAKE_OPTIONS "-DENABLE_DOC=${ENABLE_DOC}")
# TODO: Activate strict compilation options on IOS
if(IOS)
list(APPEND EP_ortp_CMAKE_OPTIONS "-DENABLE_STRICT=NO")
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