diff --git a/CMakeLists.txt b/CMakeLists.txt index a08a9635..fd9a1fab 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -33,7 +33,6 @@ get_directory_property(IS_SUBPROJECT PARENT_DIRECTORY) # ############ # Load TRIQS and CPP2PY find_package(TRIQS 2.2 REQUIRED) -find_package(Cpp2Py 1.6 REQUIRED) # Get the git hash & print status triqs_get_git_hash_of_source_dir(PROJECT_GIT_HASH) diff --git a/deps/CMakeLists.txt b/deps/CMakeLists.txt index 911f9fef..eb7fe6b1 100644 --- a/deps/CMakeLists.txt +++ b/deps/CMakeLists.txt @@ -50,3 +50,11 @@ external_dependency(GTest BUILD_ALWAYS EXCLUDE_FROM_ALL ) + +# -- Cpp2Py -- +external_dependency(Cpp2Py + GIT_REPO https://github.com/TRIQS/cpp2py + VERSION 2.0 + GIT_TAG py3 + EXCLUDE_FROM_ALL +)