mirror of
https://github.com/triqs/dft_tools
synced 2024-11-18 12:03:50 +01:00
[cmake] Default to -DBuild_Deps=IfNotFound, adjust install instructions
This commit is contained in:
parent
dd33a61cc6
commit
6aff3f1a39
2
deps/CMakeLists.txt
vendored
2
deps/CMakeLists.txt
vendored
@ -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)
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user