Skip to content

Commit

Permalink
Merge pull request #330 from OpenGATE/update_cmake_prefix_path_doc
Browse files Browse the repository at this point in the history
Update cmake_prefix_path in the doc
  • Loading branch information
tbaudier authored Jan 10, 2024
2 parents 37a7a94 + 098518b commit 3cbb303
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions docs/source/developer_guide.md
Original file line number Diff line number Diff line change
Expand Up @@ -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 \
Expand All @@ -76,7 +76,7 @@ Once it is done, you can compile `opengate_core`.
```bash
pip install colored
cd <path-to-opengate>/core
export CMAKE_PREFIX_PATH=<path-to>/geant4.11-build/:<path-to>/build-v5.1.0/:${CMAKE_PREFIX_PATH}
export CMAKE_PREFIX_PATH=<path-to>/geant4.11-build/:<path-to>/itk-build/:${CMAKE_PREFIX_PATH}
pip install -e . -v
```

Expand Down

0 comments on commit 3cbb303

Please sign in to comment.