ENABLE_DOC: fix option by giving it to subprojects ms2/ortp/linphone

parent 15bb79e2
......@@ -56,6 +56,11 @@ if(ENABLE_DEBUG_LOGS)
else()
list(APPEND EP_linphone_CMAKE_OPTIONS "-DENABLE_DEBUG_LOGS=NO")
endif()
if(ENABLE_DOC)
list(APPEND EP_linphone_CMAKE_OPTIONS "-DENABLE_DOC=YES")
else()
list(APPEND EP_linphone_CMAKE_OPTIONS "-DENABLE_DOC=NO")
endif()
if(LINPHONE_BUILDER_BUILD_DEPENDENCIES AND NOT IOS)
# Do not build zlib on IOS, it is provided by the system
list(APPEND EP_linphone_DEPENDENCIES EP_zlib)
......
......@@ -108,6 +108,11 @@ if(ENABLE_DEBUG_LOGS)
else()
list(APPEND EP_ms2_CMAKE_OPTIONS "-DENABLE_DEBUG_LOGS=NO")
endif()
if(ENABLE_DOC)
list(APPEND EP_ms2_CMAKE_OPTIONS "-DENABLE_DOC=YES")
else()
list(APPEND EP_ms2_CMAKE_OPTIONS "-DENABLE_DOC=NO")
endif()
if(ENABLE_V4L AND LINPHONE_BUILDER_BUILD_DEPENDENCIES)
list(APPEND EP_ms2_DEPENDENCIES EP_v4l)
endif()
......
......@@ -24,6 +24,8 @@ set(EP_ortp_GIT_REPOSITORY "git://git.linphone.org/ortp.git")
set(EP_ortp_GIT_TAG_LATEST "master")
set(EP_ortp_GIT_TAG "ef3258413d81f38033b15cb14362be26471d96d3")
set(EP_ortp_EXTERNAL_SOURCE_PATHS "oRTP" "ortp" "linphone/oRTP")
set(EP_ortp_CMAKE_OPTIONS )
set(EP_ortp_DEPENDENCIES )
if(EP_ortp_FORCE_AUTOTOOLS)
set(EP_ortp_LINKING_TYPE "--enable-static")
......@@ -32,8 +34,12 @@ else()
set(EP_ortp_LINKING_TYPE "${DEFAULT_VALUE_CMAKE_LINKING_TYPE}")
endif()
set(EP_ortp_CMAKE_OPTIONS )
set(EP_ortp_DEPENDENCIES )
if(ENABLE_DOC)
list(APPEND EP_ortp_CMAKE_OPTIONS "-DENABLE_DOC=YES")
else()
list(APPEND EP_ortp_CMAKE_OPTIONS "-DENABLE_DOC=NO")
endif()
if(MSVC)
set(EP_ortp_EXTRA_LDFLAGS "/SAFESEH: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