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

Fix CMake syntax for Pythia linking

parent 86c77b0d
No related branches found
No related tags found
No related merge requests found
......@@ -101,7 +101,7 @@ add_executable(gmtogdml geoModeltoGDML.cc ${sources} ${headers})
if(Pythia_FOUND)
target_compile_definitions(fullSimLight PRIVATE USE_PYTHIA)
target_link_libraries(fullSimLight Pythia::Pythia)
target_link_libraries(fullSimLight PRIVATE Pythia::Pythia)
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