Import Geant4 11.0.0 source tree
This commit is contained in:
committed by
Ben Morgan
parent
6399a014b6
commit
80e2389dd8
+3
-10
@@ -1,18 +1,11 @@
|
||||
# - G4gl2ps module build definition
|
||||
|
||||
# We need to add definitions depending on what GL drivers are built
|
||||
if(GEANT4_USE_OPENGL)
|
||||
add_definitions(-DG4VIS_BUILD_OPENGL_DRIVER)
|
||||
endif()
|
||||
|
||||
if(GEANT4_USE_INVENTOR)
|
||||
add_definitions(-DG4VIS_BUILD_OI_DRIVER)
|
||||
endif()
|
||||
|
||||
# Link to appropriate GL library for the platform/drivers being built
|
||||
set(G4GL2PS_GL_LIBRARIES OpenGL::GL)
|
||||
if(APPLE AND (GEANT4_USE_OPENGL_X11 OR GEANT4_USE_INVENTOR_XT OR GEANT4_USE_XM))
|
||||
set(G4GL2PS_GL_LIBRARIES XQuartzGL::GL)
|
||||
if(NOT GEANT4_USE_QT)
|
||||
set(G4GL2PS_GL_LIBRARIES XQuartzGL::GL)
|
||||
endif()
|
||||
endif()
|
||||
|
||||
# Define the Geant module
|
||||
|
||||
Reference in New Issue
Block a user