diff options
author | Martin Michlmayr <tbm@cyrius.com> | 2014-10-12 18:20:54 -0400 |
---|---|---|
committer | Martin Michlmayr <tbm@cyrius.com> | 2014-10-12 18:20:54 -0400 |
commit | 6b2520cc49edf4d167bec10850b832c308ebf9a3 (patch) | |
tree | 2a409439aa96a353fbd99c7f99e3e33202390559 /doc/CMakeLists.txt | |
parent | acf0618fd0be3f951ac3376d3dd31330b2ea0cd6 (diff) | |
download | fork-ledger-6b2520cc49edf4d167bec10850b832c308ebf9a3.tar.gz fork-ledger-6b2520cc49edf4d167bec10850b832c308ebf9a3.tar.bz2 fork-ledger-6b2520cc49edf4d167bec10850b832c308ebf9a3.zip |
BUILD_WEB_DOCS implies BUILD_DOCS
This fixes the build when -DBUILD_WEB_DOCS=1 is specified wihout
specifying -DBUILD_DOCS. This fails because man2html/groff are
not found because the find_program command for these programs
is only run if BUILD_DOCS is enabled.
Diffstat (limited to 'doc/CMakeLists.txt')
-rw-r--r-- | doc/CMakeLists.txt | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/doc/CMakeLists.txt b/doc/CMakeLists.txt index 96c6d518..46c3f73f 100644 --- a/doc/CMakeLists.txt +++ b/doc/CMakeLists.txt @@ -27,6 +27,11 @@ endif() ######################################################################## +# BUILD_WEB_DOCS implies BUILD_DOCS +if (BUILD_WEB_DOCS) + set(BUILD_DOCS 1) +endif() + if (BUILD_DOCS) find_program(MAKEINFO makeinfo) find_program(TEXI2PDF texi2pdf) |