mirror of
https://github.com/triqs/dft_tools
synced 2025-01-08 20:33:16 +01: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