2018-03-23 16:59:38 +01:00
|
|
|
add_subdirectory(cmake)
|
|
|
|
|
2018-03-22 18:11:39 +01:00
|
|
|
if(NOT CMAKE_INSTALL_PREFIX STREQUAL TRIQS_ROOT)
|
|
|
|
|
2018-03-25 19:00:54 +02:00
|
|
|
configure_file(app4triqs.modulefile.in app4triqs.modulefile @ONLY)
|
|
|
|
configure_file(app4triqsvars.sh.in app4triqsvars.sh @ONLY)
|
2018-03-23 16:59:38 +01:00
|
|
|
|
2018-03-25 19:00:54 +02:00
|
|
|
install(
|
|
|
|
FILES
|
|
|
|
${CMAKE_CURRENT_BINARY_DIR}/app4triqs.modulefile
|
|
|
|
${CMAKE_CURRENT_BINARY_DIR}/app4triqsvars.sh
|
|
|
|
DESTINATION share
|
|
|
|
)
|
2018-03-22 18:11:39 +01:00
|
|
|
|
2018-03-25 19:00:54 +02:00
|
|
|
message(STATUS "***************************************************************")
|
|
|
|
message(STATUS "* Custom install Location. Use: ")
|
|
|
|
message(STATUS "* ")
|
|
|
|
message(STATUS "* source ${CMAKE_INSTALL_PREFIX}/share/app4triqsvars.sh ")
|
|
|
|
message(STATUS "* ")
|
|
|
|
message(STATUS "* to set up the environment variables ")
|
|
|
|
message(STATUS "***************************************************************")
|
2018-03-22 18:11:39 +01:00
|
|
|
|
|
|
|
endif()
|