mirror of
https://github.com/triqs/dft_tools
synced 2024-12-23 04:43:42 +01:00
[cmake] Make sure to require proper triqs verison in deb pkg
This commit is contained in:
parent
daaf502102
commit
422ac1c0ad
@ -151,7 +151,7 @@ if(BUILD_DEBIAN_PACKAGE AND NOT IS_SUBPROJECT)
|
||||
set(CPACK_PACKAGE_VERSION ${PROJECT_VERSION})
|
||||
set(CPACK_PACKAGE_CONTACT "https://github.com/TRIQS/app4triqs")
|
||||
execute_process(COMMAND dpkg --print-architecture OUTPUT_VARIABLE CMAKE_DEBIAN_PACKAGE_ARCHITECTURE OUTPUT_STRIP_TRAILING_WHITESPACE)
|
||||
set(CPACK_DEBIAN_PACKAGE_DEPENDS "triqs (>= 2.2)")
|
||||
set(CPACK_DEBIAN_PACKAGE_DEPENDS "triqs (>= 3.0)")
|
||||
set(CPACK_DEBIAN_PACKAGE_SHLIBDEPS ON)
|
||||
set(CPACK_DEBIAN_PACKAGE_GENERATE_SHLIBS ON)
|
||||
include(CPack)
|
||||
|
Loading…
Reference in New Issue
Block a user