mirror of
https://github.com/triqs/dft_tools
synced 2024-12-22 20:34:38 +01:00
Use PROJECT_VERSION over APP4TRIQS_VERSION
This commit is contained in:
parent
c03634fd2f
commit
b7dafbd2e6
@ -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']
|
||||
|
@ -21,7 +21,7 @@
|
||||
#
|
||||
################################################################################
|
||||
|
||||
version = "@APP4TRIQS_VERSION@"
|
||||
version = "@PROJECT_VERSION@"
|
||||
triqs_hash = "@TRIQS_GIT_HASH@"
|
||||
app4triqs_hash = "@PROJECT_GIT_HASH@"
|
||||
|
||||
|
@ -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@
|
||||
|
||||
|
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user