3
0
mirror of https://github.com/triqs/dft_tools synced 2024-11-18 12:03:50 +01:00

[cmake] Cpp2py should be a build-only dependency in deps dir

This commit is contained in:
Nils Wentzell 2020-04-29 15:30:19 -04:00
parent 795ab5c671
commit 38ab493368
2 changed files with 8 additions and 1 deletions

View File

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

8
deps/CMakeLists.txt vendored
View File

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