fix settings

This commit is contained in:
liuyihui 2022-10-16 23:57:42 +08:00
parent 5d6f2765e3
commit 27aaabfe68
1 changed files with 0 additions and 2 deletions

View File

@ -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)