|
|
|
@ -1,9 +1,7 @@ |
|
|
|
|
cmake_minimum_required(VERSION 3.16) |
|
|
|
|
set(Geant4_DIR D:/Geant4/dist/lib/Geant4-11.0.1) |
|
|
|
|
|
|
|
|
|
project(exampleB0) |
|
|
|
|
|
|
|
|
|
set(Geant4_DIR ${Geant4_DIR}) |
|
|
|
|
option(WITH_GEANT4_UIVIS "Build example with Geant4 UI and Vis drivers" ON) |
|
|
|
|
if(WITH_GEANT4_UIVIS) |
|
|
|
|
find_package(Geant4 REQUIRED ui_all vis_all) |
|
|
|
|