mirror of
https://github.com/triqs/dft_tools
synced 2024-09-12 05:38:31 +02:00
[cmake] Do not check doc build options as subproject
This commit is contained in:
parent
fdfe1277cc
commit
59674b1b9a
@ -74,7 +74,7 @@ endif()
|
||||
|
||||
# Documentation
|
||||
option(Build_Documentation "Build documentation" OFF)
|
||||
if(Build_Documentation AND NOT PythonSupport)
|
||||
if(NOT IS_SUBPROJECT AND (Build_Documentation AND NOT PythonSupport))
|
||||
message(FATAL_ERROR "Build_Documentation=ON requires PythonSupport to be enabled")
|
||||
endif()
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user