Skip to content

Commit

Permalink
[cmake] Do not find find cpp2py when PythonSupport==OFF and subproject
Browse files Browse the repository at this point in the history
  • Loading branch information
Wentzell committed Aug 15, 2023
1 parent c08a092 commit 7449192
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion deps/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 7449192

Please sign in to comment.