mirror of
https://github.com/triqs/dft_tools
synced 2024-09-12 05:38:31 +02:00
bump version up to 3.1 from app4triqs
This commit is contained in:
commit
03a85c94fa
@ -27,12 +27,12 @@ endif()
|
|||||||
|
|
||||||
# ############
|
# ############
|
||||||
# Define Project
|
# Define Project
|
||||||
project(triqs_dft_tools VERSION 3.0.0 LANGUAGES C CXX Fortran)
|
project(triqs_dft_tools VERSION 3.1.0 LANGUAGES C CXX Fortran)
|
||||||
get_directory_property(IS_SUBPROJECT PARENT_DIRECTORY)
|
get_directory_property(IS_SUBPROJECT PARENT_DIRECTORY)
|
||||||
|
|
||||||
# ############
|
# ############
|
||||||
# Load TRIQS and CPP2PY
|
# Load TRIQS and CPP2PY
|
||||||
find_package(TRIQS 3.0 REQUIRED)
|
find_package(TRIQS 3.1 REQUIRED)
|
||||||
|
|
||||||
# Get the git hash & print status
|
# Get the git hash & print status
|
||||||
triqs_get_git_hash_of_source_dir(PROJECT_GIT_HASH)
|
triqs_get_git_hash_of_source_dir(PROJECT_GIT_HASH)
|
||||||
@ -171,7 +171,7 @@ if(BUILD_DEBIAN_PACKAGE AND NOT IS_SUBPROJECT)
|
|||||||
set(CPACK_PACKAGE_VERSION ${PROJECT_VERSION})
|
set(CPACK_PACKAGE_VERSION ${PROJECT_VERSION})
|
||||||
set(CPACK_PACKAGE_CONTACT "https://github.com/TRIQS/${PROJECT_NAME}")
|
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)
|
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_SHLIBDEPS ON)
|
||||||
set(CPACK_DEBIAN_PACKAGE_GENERATE_SHLIBS ON)
|
set(CPACK_DEBIAN_PACKAGE_GENERATE_SHLIBS ON)
|
||||||
include(CPack)
|
include(CPack)
|
||||||
|
Loading…
Reference in New Issue
Block a user