mirror of
https://github.com/triqs/dft_tools
synced 2024-12-22 12:23:41 +01:00
[cmake] Require triqs3.1+ in debian package dependencies
This commit is contained in:
parent
35fc17f807
commit
4064207dd0
@ -165,7 +165,7 @@ if(BUILD_DEBIAN_PACKAGE AND NOT IS_SUBPROJECT)
|
||||
set(CPACK_PACKAGE_VERSION ${PROJECT_VERSION})
|
||||
set(CPACK_PACKAGE_CONTACT "https://github.com/TRIQS/${PROJECT_NAME}")
|
||||
execute_process(COMMAND dpkg --print-architecture OUTPUT_VARIABLE CMAKE_DEBIAN_PACKAGE_ARCHITECTURE OUTPUT_STRIP_TRAILING_WHITESPACE)
|
||||
set(CPACK_DEBIAN_PACKAGE_DEPENDS "triqs (>= 3.0)")
|
||||
set(CPACK_DEBIAN_PACKAGE_DEPENDS "triqs (>= 3.1)")
|
||||
set(CPACK_DEBIAN_PACKAGE_SHLIBDEPS ON)
|
||||
set(CPACK_DEBIAN_PACKAGE_GENERATE_SHLIBS ON)
|
||||
include(CPack)
|
||||
|
Loading…
Reference in New Issue
Block a user