aboutsummaryrefslogtreecommitdiffstats
path: root/ApiExtractor
diff options
context:
space:
mode:
Diffstat (limited to 'ApiExtractor')
-rw-r--r--ApiExtractor/CMakeLists.txt3
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()