Commit ddda3d9e authored by Dominik Charousset's avatar Dominik Charousset

Exclude manual from default targets

parent e2f07199
......@@ -44,9 +44,10 @@ Usage: $0 [OPTION]... [VAR=VALUE]...
--warnings-as-errors build with '-Werror'
--with-ccache use ccache to improve build performance
Additional Examples:
--with-qt-examples include Qt example(s)
--with-protobuf-examples include Google Protobuf example(s)
Optional Targets:
--with-qt-examples build Qt example(s)
--with-protobuf-examples build Google Protobuf example(s)
--with-tex-manual build the LaTeX manual
Installation Directories:
--prefix=PREFIX installation directory [/usr/local]
......@@ -339,6 +340,9 @@ while [ $# -ne 0 ]; do
--with-protobuf-examples)
append_cache_entry CAF_BUILD_PROTOBUF_EXAMPLES BOOL yes
;;
--with-tex-manual)
append_cache_entry CAF_BUILD_TEX_MANUAL BOOL yes
;;
--no-curl-examples)
append_cache_entry CAF_NO_CURL_EXAMPLES BOOL yes
;;
......
......@@ -94,11 +94,8 @@ endmacro()
# -- LaTeX setup ---------------------------------------------------------------
find_package(LATEX QUIET)
if(NOT LATEX_FOUND)
message(STATUS "LaTeX not found, skip building manual.")
else()
if (CAF_BUILD_TEX_MANUAL)
find_package(LATEX)
message(STATUS "Add optional target: manual.")
include("cmake/UseLATEX.cmake")
# enable synctex for convenient editing
......
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