diff options
author | Paulo Alcantara <pcacjr@zytor.com> | 2012-05-02 20:24:56 -0300 |
---|---|---|
committer | Hugo Parente Lima <hugo.lima@openbossa.org> | 2012-05-03 01:33:40 +0200 |
commit | 9a8eaf81a4694088cb2a5f3fcea753ea588cb7cf (patch) | |
tree | 3852bedf605a352c807e3b52010d12b4e1a121a9 /ApiExtractor | |
parent | 1f7127acd36492cd37c7b86e09e62c51557c9ad3 (diff) |
Fix compilation when there is no libxslt installed on the system.
Signed-off-by: Paulo Alcantara <pcacjr@zytor.com>
Change-Id: I7ea373535ff936b6a4fbf0071aff0a690925db15
Reviewed-by: Hugo Parente Lima <hugo.lima@openbossa.org>
Diffstat (limited to 'ApiExtractor')
-rw-r--r-- | ApiExtractor/CMakeLists.txt | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/ApiExtractor/CMakeLists.txt b/ApiExtractor/CMakeLists.txt index 04b83a108..1e6edaf85 100644 --- a/ApiExtractor/CMakeLists.txt +++ b/ApiExtractor/CMakeLists.txt @@ -7,7 +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 PARENT_SCOPE) + set(DISABLE_DOCSTRINGS TRUE CACHE BOOL "Disable doc strings" PARENT_SCOPE) + set(DISABLE_DOCSTRINGS TRUE) message(WARNING "libxslt and/or libxml not found, disabling support for doc strings!") endif() endif() |