fix settings
This commit is contained in:
parent
5d6f2765e3
commit
27aaabfe68
@ -1,9 +1,7 @@
|
|||||||
cmake_minimum_required(VERSION 3.16)
|
cmake_minimum_required(VERSION 3.16)
|
||||||
set(Geant4_DIR D:/Geant4/dist/lib/Geant4-11.0.1)
|
|
||||||
|
|
||||||
project(exampleB0)
|
project(exampleB0)
|
||||||
|
|
||||||
set(Geant4_DIR ${Geant4_DIR})
|
|
||||||
option(WITH_GEANT4_UIVIS "Build example with Geant4 UI and Vis drivers" ON)
|
option(WITH_GEANT4_UIVIS "Build example with Geant4 UI and Vis drivers" ON)
|
||||||
if(WITH_GEANT4_UIVIS)
|
if(WITH_GEANT4_UIVIS)
|
||||||
find_package(Geant4 REQUIRED ui_all vis_all)
|
find_package(Geant4 REQUIRED ui_all vis_all)
|
||||||
|
Loading…
Reference in New Issue
Block a user