From 9c71e750fe97ce6560d269730e2fb1cc23b4e737 Mon Sep 17 00:00:00 2001 From: Axel Huebl Date: Fri, 12 Jan 2024 09:58:30 -0800 Subject: [PATCH] One more link on `CMAKE_PREFIX_PATH` --- Docs/source/developers/local_compile.rst | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Docs/source/developers/local_compile.rst b/Docs/source/developers/local_compile.rst index f1ade35f9e8..53b897f3d34 100644 --- a/Docs/source/developers/local_compile.rst +++ b/Docs/source/developers/local_compile.rst @@ -66,7 +66,8 @@ Compiling With Pre-Compiled Dependencies This workflow is the best and fastest to compile WarpX, when you just want to change code in WarpX and have the above central dependencies already made available *in the right configurations* (e.g., w/ or w/o MPI or GPU support) from a :ref:`module system ` or :ref:`package manager `. -Instead of downloading the source code of the above central dependencies, or using a local copy of their source, we can compile and install those once and instruct CMake to `find their install locations and configurations `__. +Instead of downloading the source code of the above central dependencies, or using a local copy of their source, we can compile and install those dependencies once. +By setting the `CMAKE_PREFIX_PATH `__ environment variable to the respective dependency install location prefixes, we can instruct CMake to `find their install locations and configurations `__. WarpX supports this with :ref:`the following CMake flags `: