Import Geant4 10.7.0.beta source tree
This commit is contained in:
@@ -1,21 +1,9 @@
|
||||
#------------------------------------------------------------------------------
|
||||
# CMakeLists.txt
|
||||
# Module : G4OpenInventor
|
||||
# Package: Geant4.src.G4visualization.G4OpenInventor
|
||||
#
|
||||
# CMakeLists.txt for single level library that may be build global or granular
|
||||
#
|
||||
# Generated on : 24/9/2010
|
||||
#
|
||||
#
|
||||
#------------------------------------------------------------------------------
|
||||
|
||||
include(Geant4MacroLibraryTargets)
|
||||
if(GEANT4_BUILD_GRANULAR_LIBS)
|
||||
GEANT4_GRANULAR_LIBRARY_TARGET(COMPONENT sources.cmake)
|
||||
else()
|
||||
GEANT4_GLOBAL_LIBRARY_TARGET(COMPONENTS sources.cmake)
|
||||
endif()
|
||||
geant4_global_library_target(COMPONENTS sources.cmake)
|
||||
|
||||
# Fix for Inventor not yet supporting usage requirements
|
||||
if(TARGET G4OpenInventor)
|
||||
@@ -25,3 +13,11 @@ endif()
|
||||
if(TARGET G4OpenInventor-static)
|
||||
target_include_directories(G4OpenInventor-static PUBLIC ${G4VIS_MODULE_OPENINVENTOR_INCLUDE_DIRS})
|
||||
endif()
|
||||
|
||||
if(GEANT4_USE_QT)
|
||||
foreach(__target G4OpenInventor G4OpenInventor-static)
|
||||
if(TARGET ${__target})
|
||||
set_target_properties(${__target} PROPERTIES AUTOMOC 1)
|
||||
endif()
|
||||
endforeach()
|
||||
endif()
|
||||
Reference in New Issue
Block a user