3
0
mirror of https://github.com/triqs/dft_tools synced 2024-06-29 00:15:00 +02:00

Do not build documentation for subprojects

This commit is contained in:
Nils Wentzell 2023-07-26 14:55:30 -04:00
parent f23ebdf228
commit fdfe1277cc

View File

@ -145,7 +145,7 @@ if(PythonSupport)
endif()
# Docs
if(Build_Documentation)
if(NOT IS_SUBPROJECT AND Build_Documentation)
add_subdirectory(doc)
endif()