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

minor fix to handling of G4_NATIVE_VERSION

parent a2a64fef
Branches
Tags
No related merge requests found
......@@ -26,7 +26,10 @@ if(DEFINED ENV{G4_NATIVE_VERSION})
if(NOT Geant4_tag MATCHES "^4\\.")
# G4_NATIVE_VERSION might not contain the initial '4.' that we need
# see https://its.cern.ch/jira/browse/LHCBGAUSS-43
set(Geant4_tag 4.${Geant4_version})
set(Geant4_tag 4.${Geant4_tag})
endif()
if(NOT Geant4_tag MATCHES "^geant")
set(Geant4_tag geant${Geant4_tag})
endif()
else()
set(Geant4_tag ${CMAKE_PROJECT_VERSION})
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment