fix settings

This commit is contained in:
liuyihui 2022-10-16 23:58:12 +08:00
parent e7a39b42c3
commit 38b27bd71d

View File

@ -1,9 +1,7 @@
cmake_minimum_required(VERSION 3.16)
set(Geant4_DIR D:/Geant4/dist/lib/Geant4-11.0.1)
project(DESCSS)
# 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)