Skip to content
Snippets Groups Projects
Commit 0631bd14 authored by Riccardo Maria Bianchi's avatar Riccardo Maria Bianchi :sunny:
Browse files

Fix FSL CMake configuration for HepMC3

parent 86eb2462
No related branches found
No related tags found
2 merge requests!170Merging latest CMake fixes from master into the branch to test the new CI single-build jobs,!169Fix FSL CMake configuration for HepMC3
......@@ -39,12 +39,12 @@ set(CMAKE_INCLUDE_CURRENT_DIR ON)
# Support for the HepMC3 exchange format
# This is ON by default, but it can be disabled by the user if not used/needed,
# or if HepMC3 is not installed.
option(GEOMODEL_USE_HEPMC3 "Buil GeoModel tools with support for the HepMC3 exchancge format (Note: HepMC3 must be installed on the target machine)" ON)
option(GEOMODEL_USE_HEPMC3 "Build GeoModel tools with support for the HepMC3 exchancge format (Note: HepMC3 must be installed on the target machine)" ON)
if(GEOMODEL_USE_HEPMC3)
find_package(HepMC3 REQUIRED) # required by default, but it can be disabled
endif()
if(HepMC3_FOUND)
target_compile_definitions(fullSimLight PRIVATE USE_HEPMC3)
add_compile_definitions( USE_HEPMC3 )
endif()
......
......@@ -72,7 +72,6 @@ if(GEOMODEL_USE_HEPMC3)
find_package(HepMC3 REQUIRED) # required by default, but it can be disabled
endif()
if(HepMC3_FOUND)
#target_compile_definitions(fullSimLight PRIVATE USE_HEPMC3)
add_compile_definitions( USE_HEPMC3 )
endif()
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment