mirror of
https://github.com/triqs/dft_tools
synced 2024-12-23 12:55:17 +01:00
[cmake] Important path/variable fixes in cmake-generated files
This commit is contained in:
parent
219bd830a5
commit
c387828bd2
@ -1,10 +1,10 @@
|
|||||||
# Source this in your environment.
|
# Source this in your environment.
|
||||||
|
|
||||||
export TRIQS_ROOT=@CMAKE_INSTALL_PREFIX@
|
export APP4TRIQS_ROOT=@CMAKE_INSTALL_PREFIX@
|
||||||
|
|
||||||
export CPLUS_INCLUDE_PATH=@CMAKE_INSTALL_PREFIX@/include:$CPLUS_INCLUDE_PATH
|
export CPLUS_INCLUDE_PATH=@CMAKE_INSTALL_PREFIX@/include:$CPLUS_INCLUDE_PATH
|
||||||
export PATH=@CMAKE_INSTALL_PREFIX@/bin:$PATH
|
export PATH=@CMAKE_INSTALL_PREFIX@/bin:$PATH
|
||||||
export LIBRARY_PATH=@CMAKE_INSTALL_PREFIX@/lib:$LIBRARY_PATH
|
export LIBRARY_PATH=@CMAKE_INSTALL_PREFIX@/lib:$LIBRARY_PATH
|
||||||
export LD_LIBRARY_PATH=@CMAKE_INSTALL_PREFIX@/lib:$LD_LIBRARY_PATH
|
export LD_LIBRARY_PATH=@CMAKE_INSTALL_PREFIX@/lib:$LD_LIBRARY_PATH
|
||||||
export PYTHONPATH=@CMAKE_INSTALL_PREFIX@/@CPP2PY_PYTHON_LIB_DEST_ROOT@:$PYTHONPATH
|
export PYTHONPATH=@CMAKE_INSTALL_PREFIX@/@CPP2PY_PYTHON_LIB_DEST_ROOT@:$PYTHONPATH
|
||||||
export CMAKE_PREFIX_PATH=@CMAKE_INSTALL_PREFIX@/lib/cmake/triqs:$CMAKE_PREFIX_PATH
|
export CMAKE_PREFIX_PATH=@CMAKE_INSTALL_PREFIX@/lib/cmake/app4triqs:$CMAKE_PREFIX_PATH
|
||||||
|
@ -14,9 +14,9 @@ set(APP4TRIQS_GIT_HASH @APP4TRIQS_GIT_HASH@)
|
|||||||
set(APP4TRIQS_ROOT @CMAKE_INSTALL_PREFIX@)
|
set(APP4TRIQS_ROOT @CMAKE_INSTALL_PREFIX@)
|
||||||
|
|
||||||
# Include the exported targets of this project
|
# Include the exported targets of this project
|
||||||
include(@CMAKE_INSTALL_PREFIX@/lib/cmake/triqs/app4triqs-targets.cmake)
|
include(@CMAKE_INSTALL_PREFIX@/lib/cmake/app4triqs/app4triqs-targets.cmake)
|
||||||
|
|
||||||
MESSAGE(STATUS "Found APP4TRIQSConfig.cmake with version ${APP4TRIQS_VERSION}, hash = ${APP4TRIQS_GIT_HASH}")
|
message(STATUS "Found app4triqs-config.cmake with version ${APP4TRIQS_VERSION}, hash = ${APP4TRIQS_GIT_HASH}")
|
||||||
|
|
||||||
# Was the Project built with Documentation?
|
# Was the Project built with Documentation?
|
||||||
set(APP4TRIQS_WITH_DOCUMENTATION @Build_Documentation@)
|
set(APP4TRIQS_WITH_DOCUMENTATION @Build_Documentation@)
|
||||||
|
Loading…
Reference in New Issue
Block a user