3
0
mirror of https://github.com/triqs/dft_tools synced 2024-09-12 05:38:31 +02: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() endif()
# -- Cpp2Py -- # -- Cpp2Py --
if(PythonSupport OR Build_Documentation) if(PythonSupport OR (NOT IS_SUBPROJECT AND Build_Documentation))
external_dependency(Cpp2Py external_dependency(Cpp2Py
GIT_REPO https://github.com/TRIQS/cpp2py GIT_REPO https://github.com/TRIQS/cpp2py
VERSION 2.0 VERSION 2.0