We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2bb213c commit 8d5fcd8Copy full SHA for 8d5fcd8
CMakeLists.txt
@@ -86,7 +86,7 @@ include(CTest)
86
if(BUILD_TESTING)
87
add_subdirectory(test)
88
endif()
89
-if(BUILD_DOCS)
+if(BUILD_DOCS AND CMAKE_SOURCE_DIR STREQUAL PROJECT_SOURCE_DIR)
90
add_subdirectory(doc)
91
92
# ##############################################################################
0 commit comments