mirror of
https://github.com/triqs/dft_tools
synced 2024-09-12 05:38:31 +02:00
[cmake] For Build_Documentation=ON make sure PythonSupport is enabled
This commit is contained in:
parent
2d7818a85f
commit
07ddcb3c40
@ -80,6 +80,9 @@ endif()
|
||||
|
||||
# Documentation
|
||||
option(Build_Documentation "Build documentation" OFF)
|
||||
if(Build_Documentation AND NOT PythonSupport)
|
||||
message(FATAL_ERROR "Build_Documentation=ON requires PythonSupport to be enabled")
|
||||
endif()
|
||||
|
||||
# Testing
|
||||
option(Build_Tests "Build tests" ON)
|
||||
|
Loading…
Reference in New Issue
Block a user