diff --git a/doc/CMakeLists.txt b/doc/CMakeLists.txt index d26b16cd3..4cb6d4a40 100644 --- a/doc/CMakeLists.txt +++ b/doc/CMakeLists.txt @@ -43,7 +43,7 @@ if (GTSAM_BUILD_DOCS) gtsam_unstable ) - # Build a list of folders to include + # Build a list of folders to include depending on build options set(doc_subdirs ${gtsam_doc_subdirs}) if (GTSAM_BUILD_UNSTABLE) list(APPEND doc_subdirs ${gtsam_unstable_doc_subdirs})