mirror of
https://github.com/triqs/dft_tools
synced 2024-12-25 05:43:40 +01:00
cmake: make TRIQS_PATH absolute
- when TRIQS_PATH is given e.g. with ~, make it absolute to avoid config. error.
This commit is contained in:
parent
06dbfb71bf
commit
51b008c369
@ -10,6 +10,9 @@
|
||||
#
|
||||
find_package(PackageHandleStandardArgs)
|
||||
|
||||
# Transform in particular the ~/.... into absolute name
|
||||
get_filename_component(TRIQS_PATH ${TRIQS_PATH} ABSOLUTE)
|
||||
|
||||
SET(TRIAL_PATHS
|
||||
$ENV{TRIQS_PATH}/include/triqs
|
||||
${TRIQS_PATH}/include/triqs
|
||||
|
Loading…
Reference in New Issue
Block a user