mirror of
https://github.com/triqs/dft_tools
synced 2024-12-22 04:13:47 +01:00
[cmake] Do not find find cpp2py when PythonSupport==OFF and subproject
This commit is contained in:
parent
c08a0923f4
commit
74491922a8
2
deps/CMakeLists.txt
vendored
2
deps/CMakeLists.txt
vendored
@ -48,7 +48,7 @@ else()
|
||||
endif()
|
||||
|
||||
# -- Cpp2Py --
|
||||
if(PythonSupport OR Build_Documentation)
|
||||
if(PythonSupport OR (NOT IS_SUBPROJECT AND Build_Documentation))
|
||||
external_dependency(Cpp2Py
|
||||
GIT_REPO https://github.com/TRIQS/cpp2py
|
||||
VERSION 2.0
|
||||
|
Loading…
Reference in New Issue
Block a user