summaryrefslogtreecommitdiff
blob: 896aafd17f15cbb7407b34cda9aedc96d027616e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 5e10a09..cdbdb7a 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -770,7 +770,9 @@ set(SCHEME_INSTALLED_CACHE_DIR ${PKGLIBDIR}/scm/ccache/${GUILE_EFFECTIVE_VERSION
 # The subdirectories
 add_subdirectory (borrowed)
 add_subdirectory (data)
+if (WITH_GNUCASH)
 add_subdirectory (doc)
+endif (WITH_GNUCASH)
 add_subdirectory (po)
 add_subdirectory (common)
 add_subdirectory (libgnucash)