diff --git a/doc/CMakeLists.txt b/doc/CMakeLists.txt index 05c754c4b..302647e53 100644 --- a/doc/CMakeLists.txt +++ b/doc/CMakeLists.txt @@ -6,12 +6,12 @@ # granted to it by virtue of its status as an intergovernmental organisation nor # does it submit to any jurisdiction. +if(atlas_HAVE_DOCS) + if(atlas_HAVE_FORTRAN) add_subdirectory(example-fortran) endif() -if(atlas_HAVE_DOCS) - add_subdirectory(user-guide) list( APPEND DOC_CODE_TARGETS