mirror of
https://github.com/triqs/dft_tools
synced 2024-12-30 16:15:47 +01:00
[cmake] update cpp2py / triqs version requirements
This commit is contained in:
parent
22a4b4357b
commit
66b4b1129f
@ -17,7 +17,7 @@ set(BUILD_SHARED_LIBS ON)
|
|||||||
|
|
||||||
# Load TRIQS and Cpp2Py
|
# Load TRIQS and Cpp2Py
|
||||||
find_package(TRIQS 2.0 REQUIRED)
|
find_package(TRIQS 2.0 REQUIRED)
|
||||||
find_package(Cpp2Py REQUIRED)
|
find_package(Cpp2Py 1.5 REQUIRED)
|
||||||
|
|
||||||
if (NOT ${TRIQS_WITH_PYTHON_SUPPORT})
|
if (NOT ${TRIQS_WITH_PYTHON_SUPPORT})
|
||||||
MESSAGE(FATAL_ERROR "dft_tools require Python support in TRIQS")
|
MESSAGE(FATAL_ERROR "dft_tools require Python support in TRIQS")
|
||||||
@ -78,6 +78,6 @@ if(BUILD_DEBIAN_PACKAGE)
|
|||||||
SET(CPACK_PACKAGE_VERSION ${DFT_TOOLS_VERSION})
|
SET(CPACK_PACKAGE_VERSION ${DFT_TOOLS_VERSION})
|
||||||
SET(CPACK_PACKAGE_CONTACT "https://github.com/TRIQS/dft_tools")
|
SET(CPACK_PACKAGE_CONTACT "https://github.com/TRIQS/dft_tools")
|
||||||
EXECUTE_PROCESS(COMMAND dpkg --print-architecture OUTPUT_VARIABLE CMAKE_DEBIAN_PACKAGE_ARCHITECTURE OUTPUT_STRIP_TRAILING_WHITESPACE)
|
EXECUTE_PROCESS(COMMAND dpkg --print-architecture OUTPUT_VARIABLE CMAKE_DEBIAN_PACKAGE_ARCHITECTURE OUTPUT_STRIP_TRAILING_WHITESPACE)
|
||||||
SET(CPACK_DEBIAN_PACKAGE_DEPENDS "libc6 (>= 2.23), libgcc1 (>= 1:6), libstdc++6, python, libpython2.7, libopenmpi1.10, libhdf5-10, libgmp10, libfftw3-double3, libibverbs1, libgfortran3, zlib1g, libsz2, libhwloc5, libquadmath0, libaec0, libnuma1, libltdl7, libblas3, liblapack3, python-numpy, python-h5py, python-jinja2, python-mako, python-mpi4py, python-matplotlib, python-scipy, cpp2py (= ${DFT_TOOLS_VERSION}), triqs (= ${DFT_TOOLS_VERSION})")
|
SET(CPACK_DEBIAN_PACKAGE_DEPENDS "libc6 (>= 2.23), libgcc1 (>= 1:6), libstdc++6, python, libpython2.7, libopenmpi1.10, libhdf5-10, libgmp10, libfftw3-double3, libibverbs1, libgfortran3, zlib1g, libsz2, libhwloc5, libquadmath0, libaec0, libnuma1, libltdl7, libblas3, liblapack3, python-numpy, python-h5py, python-jinja2, python-mako, python-mpi4py, python-matplotlib, python-scipy, cpp2py (>= 1.5), triqs (>= 2.0)")
|
||||||
INCLUDE(CPack)
|
INCLUDE(CPack)
|
||||||
endif()
|
endif()
|
||||||
|
Loading…
Reference in New Issue
Block a user