... | ... | @@ -119,7 +119,7 @@ You need to create a target directory owned by my current user: |
|
|
`sudo chown -R `id -un`:`id -gn` /usr/local/geant4`
|
|
|
```
|
|
|
|
|
|
Now you can compile and install Geant4:
|
|
|
Make build configuration files with cmake:
|
|
|
|
|
|
```
|
|
|
mkdir geant4-build
|
... | ... | @@ -132,6 +132,8 @@ cmake -DCMAKE_INSTALL_PREFIX=/usr/local/geant4/11.2.0 \ |
|
|
|
|
|
The multithreading enabled by default and FREETYPE was optional component
|
|
|
|
|
|
Now you can comile binaries and install Geant4:
|
|
|
|
|
|
```
|
|
|
cmake --build . --target install -- -j8
|
|
|
```
|
... | ... | |