From 6aff3f1a39f121690785d086c9a7ae33b2f625de Mon Sep 17 00:00:00 2001 From: Nils Wentzell Date: Wed, 24 Jun 2020 10:06:11 -0400 Subject: [PATCH] [cmake] Default to -DBuild_Deps=IfNotFound, adjust install instructions --- deps/CMakeLists.txt | 2 +- doc/install.rst | 7 ------- 2 files changed, 1 insertion(+), 8 deletions(-) diff --git a/deps/CMakeLists.txt b/deps/CMakeLists.txt index 9ac49757..dad295fd 100644 --- a/deps/CMakeLists.txt +++ b/deps/CMakeLists.txt @@ -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) diff --git a/doc/install.rst b/doc/install.rst index 203ab7cd..d8668c58 100644 --- a/doc/install.rst +++ b/doc/install.rst @@ -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