From 098518b391475fe2e0576ec05df9cecb7ed66df6 Mon Sep 17 00:00:00 2001 From: tbaudier Date: Wed, 10 Jan 2024 09:30:03 +0100 Subject: [PATCH] Update cmake_prefix_path in the doc For ITK compilation, the build folder was not comprehensive --- docs/source/developer_guide.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/docs/source/developer_guide.md b/docs/source/developer_guide.md index 18b37dee2..665c46658 100644 --- a/docs/source/developer_guide.md +++ b/docs/source/developer_guide.md @@ -58,8 +58,8 @@ For **ITK**, you need to compile with the following options: ```bash git clone --branch v5.2.1 https://github.com/InsightSoftwareConsortium/ITK.git --depth 1 -mkdir build-v5.2.1 -cd build-v5.2.1 +mkdir itk-build +cd itk-build cmake -DCMAKE_CXX_FLAGS=-std=c++17 \ -DBUILD_TESTING=OFF \ -DITK_USE_FFTWD=ON \ @@ -76,7 +76,7 @@ Once it is done, you can compile `opengate_core`. ```bash pip install colored cd /core -export CMAKE_PREFIX_PATH=/geant4.11-build/:/build-v5.1.0/:${CMAKE_PREFIX_PATH} +export CMAKE_PREFIX_PATH=/geant4.11-build/:/itk-build/:${CMAKE_PREFIX_PATH} pip install -e . -v ```