mirror of
https://gitlab.linphone.org/BC/public/linphone-iphone.git
synced 2026-01-21 13:08:08 +00:00
Turns ENABLE_SPHINX_DOC option into conditional option
This commit is contained in:
parent
759f089f68
commit
3a8fb2bb6d
2 changed files with 3 additions and 3 deletions
|
|
@ -53,7 +53,6 @@ option(ENABLE_NLS "Build with internationalisation support" YES)
|
|||
option(ENABLE_RELATIVE_PREFIX "Find resources relatively to the installation directory." NO)
|
||||
option(ENABLE_ROOTCA_DOWNLOAD "Download rootca.pem at build time." YES)
|
||||
option(ENABLE_SOCI_STORAGE "Turn on compilation soci storage, for messages, contacts, history" YES)
|
||||
option(ENABLE_SPHINX_DOC "Turn on the generation of the multi-language API documentation based on Sphinx. ENABLE_DOC must be set to YES in order that option be taken into account." NO)
|
||||
option(ENABLE_SQLITE_STORAGE "Turn on compilation sqlite storage, for messages, contacts, history" YES)
|
||||
option(ENABLE_STRICT "Build with strict compile options." YES)
|
||||
option(ENABLE_TOOLS "Turn on or off compilation of tools." YES)
|
||||
|
|
@ -67,6 +66,7 @@ option(ENABLE_VIDEO "Build with video support." YES)
|
|||
cmake_dependent_option(ENABLE_LIME "Enable Instant Messaging Encryption." YES "ENABLE_SQLITE_STORAGE" NO)
|
||||
cmake_dependent_option(ENABLE_NOTIFY "Enable libnotify support." YES "ENABLE_GTK_UI;NOT APPLE" NO)
|
||||
cmake_dependent_option(ENABLE_ASSISTANT "Turn on assistant compiling." YES "ENABLE_GTK_UI" NO)
|
||||
cmake_dependent_option(ENABLE_SPHINX_DOC "Turn on the generation of the multi-language API documentation based on Sphinx." NO "ENABLE_DOC" NO)
|
||||
|
||||
set(CMAKE_CXX_STANDARD 11)
|
||||
|
||||
|
|
@ -192,7 +192,7 @@ if(ENABLE_LIME)
|
|||
endif()
|
||||
set(HAVE_LIME 1)
|
||||
endif()
|
||||
if(ENABLE_CXX_WRAPPER OR ENABLE_CSHARP_WRAPPER OR ENABLE_DOC)
|
||||
if(ENABLE_CXX_WRAPPER OR ENABLE_CSHARP_WRAPPER OR ENABLE_SPHINX_DOC)
|
||||
find_package(PythonInterp REQUIRED)
|
||||
endif()
|
||||
|
||||
|
|
|
|||
|
|
@ -20,7 +20,7 @@
|
|||
#
|
||||
############################################################################
|
||||
|
||||
if (ENABLE_DOC AND ENABLE_SPHINX_DOC)
|
||||
if (ENABLE_SPHINX_DOC)
|
||||
set(GENERATED_LANGUAGES c cpp csharp)
|
||||
set(DOCUMENTATION_DIRS )
|
||||
set(GENERATED_SPHINX_SOURCES )
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue