diff options
author | Hugo Parente Lima <hugo.pl@gmail.com> | 2012-04-27 14:32:49 -0300 |
---|---|---|
committer | Hugo Parente Lima <hugo.lima@openbossa.org> | 2012-04-27 19:37:13 +0200 |
commit | 03650317cdf3c22e8f7353e3dfee03cd4030558d (patch) | |
tree | ed50aa16749156d3cb8d7980bfdb6abfe1d386e7 /ApiExtractor | |
parent | 49bc8fbb0803f91d391211356492fba9bc4e68dc (diff) |
Disable docstring generation if tools aren't found.
Change-Id: I11d6b90c2ba924fbe182924e747fa39adc6981c6
Reviewed-by: Hugo Parente Lima <hugo.lima@openbossa.org>
Diffstat (limited to 'ApiExtractor')
-rw-r--r-- | ApiExtractor/CMakeLists.txt | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ApiExtractor/CMakeLists.txt b/ApiExtractor/CMakeLists.txt index e02d7d0ce..04b83a108 100644 --- a/ApiExtractor/CMakeLists.txt +++ b/ApiExtractor/CMakeLists.txt @@ -7,8 +7,8 @@ option(DISABLE_DOCSTRINGS "Disable documentation extraction." FALSE) if (NOT DISABLE_DOCSTRINGS) if (NOT LIBXSLT_FOUND OR NOT LIBXML2_FOUND) - set(DISABLE_DOCSTRINGS TRUE) - message(WARNING "libxslt and/or libxml not found, disabling support to doc strings!") + set(DISABLE_DOCSTRINGS TRUE PARENT_SCOPE) + message(WARNING "libxslt and/or libxml not found, disabling support for doc strings!") endif() endif() |