3
0
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:
Nils Wentzell 2023-08-15 16:13:44 -04:00
parent c08a0923f4
commit 74491922a8

2
deps/CMakeLists.txt vendored
View File

@ -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