Skip to content

Commit 8d5fcd8

Browse files
committed
Don't build docs if we're not standalone or being developed by MPD
1 parent 2bb213c commit 8d5fcd8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ include(CTest)
8686
if(BUILD_TESTING)
8787
add_subdirectory(test)
8888
endif()
89-
if(BUILD_DOCS)
89+
if(BUILD_DOCS AND CMAKE_SOURCE_DIR STREQUAL PROJECT_SOURCE_DIR)
9090
add_subdirectory(doc)
9191
endif()
9292
# ##############################################################################

0 commit comments

Comments
 (0)