3
0
mirror of https://github.com/triqs/dft_tools synced 2024-12-23 04:43:42 +01:00

Use PROJECT_VERSION over APP4TRIQS_VERSION

This commit is contained in:
Nils Wentzell 2019-10-28 18:23:15 -04:00
parent c03634fd2f
commit b7dafbd2e6
4 changed files with 5 additions and 5 deletions

View File

@ -21,7 +21,7 @@ source_suffix = '.rst'
project = u'APP4TRIQS - An example triqs application'
copyright = u'2017-2018 N. Wentzell, O. Parcollet 2018-2019 The Simons Foundation, authors: N. Wentzell, D. Simons, H. Strand, O. Parcollet'
version = '@APP4TRIQS_VERSION@'
version = '@PROJECT_VERSION@'
mathjax_path = "@TRIQS_MATHJAX_PATH@/MathJax.js?config=default"
templates_path = ['@PROJECT_SOURCE_DIR@/doc/_templates']

View File

@ -21,7 +21,7 @@
#
################################################################################
version = "@APP4TRIQS_VERSION@"
version = "@PROJECT_VERSION@"
triqs_hash = "@TRIQS_GIT_HASH@"
app4triqs_hash = "@PROJECT_GIT_HASH@"

View File

@ -1,9 +1,9 @@
#%Module1.0
#
# To be installed as ${MODULEPATH}/app4triqs/@APP4TRIQS_VERSION@
# To be installed as ${MODULEPATH}/app4triqs/@PROJECT_VERSION@
set name app4triqs
set version @APP4TRIQS_VERSION@
set version @PROJECT_VERSION@
set root @CMAKE_INSTALL_PREFIX@
set git_hash @PROJECT_GIT_HASH@

View File

@ -1,4 +1,4 @@
set(PACKAGE_VERSION @APP4TRIQS_VERSION@)
set(PACKAGE_VERSION @PROJECT_VERSION@)
if (PACKAGE_FIND_VERSION VERSION_EQUAL PACKAGE_VERSION)
set(PACKAGE_VERSION_EXACT TRUE)