3
0
mirror of https://github.com/triqs/dft_tools synced 2024-06-25 22:52:20 +02:00

[cmake] Default to -DBuild_Deps=IfNotFound, adjust install instructions

This commit is contained in:
Nils Wentzell 2020-06-24 10:06:11 -04:00
parent dd33a61cc6
commit 6aff3f1a39
2 changed files with 1 additions and 8 deletions

2
deps/CMakeLists.txt vendored
View File

@ -35,7 +35,7 @@ include(external_dependency.cmake)
# In particular the dependency will not be installed.
if(NOT DEFINED Build_Deps)
set(Build_Deps "Never" CACHE STRING "Do we build dependencies from source? [Never/Always/IfNotFound]")
set(Build_Deps "IfNotFound" CACHE STRING "Do we build dependencies from source? [Never/Always/IfNotFound]")
else()
set(Build_Deps_Opts "Never" "Always" "IfNotFound")
if(NOT ${Build_Deps} IN_LIST Build_Deps_Opts)

View File

@ -19,13 +19,6 @@ Installation steps
$ git clone https://github.com/TRIQS/app4triqs app4triqs.src
#. Make sure that all additional dependencies are installed on your system and available in your environment.
Alternatively build the dependencies from source instead with::
$ (cd deps && ./download.sh)
In this case they will be installed together with your application.
#. Create and move to a new directory where you will compile the code::
$ mkdir app4triqs.build && cd app4triqs.build