Skip to content
Snippets Groups Projects
Commit baeda959 authored by Marco Clemencic's avatar Marco Clemencic
Browse files

Fix runtime environment for downstream projects (legacy configuration)

parent a769f2f8
No related branches found
No related tags found
1 merge request!79"Modernize" CMake configuration
......@@ -93,6 +93,12 @@ if(GAUDI_LEGACY_CMAKE_SUPPORT)
SET G4INCLDATA \${G4DATA}/G4INCL1.0
)
endif()
set_property(GLOBAL APPEND PROPERTY ${PROJECT_NAME}_ENVIRONMENT
PREPEND PATH ${CMAKE_INSTALL_PREFIX}/bin
PREPEND LD_LIBRARY_PATH ${CMAKE_INSTALL_PREFIX}/lib
PREPEND ROOT_INCLUDE_PATH ${CMAKE_INSTALL_PREFIX}/include/Geant4
)
endif()
# Note: this enables building of tests, but not the Geant4 ones (that require GEANT4_ENABLE_TESTING and GEANT4_BUILD_TESTS)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment