From 38e4c70c03575a099c45f549259c43a3ab08a42f Mon Sep 17 00:00:00 2001 From: Hans Dembinski <hans.dembinski@gmail.com> Date: Wed, 22 May 2019 11:15:55 +0200 Subject: [PATCH] fixing vertical_EAS --- Documentation/Examples/CMakeLists.txt | 47 +++++++++++++-------------- 1 file changed, 23 insertions(+), 24 deletions(-) diff --git a/Documentation/Examples/CMakeLists.txt b/Documentation/Examples/CMakeLists.txt index 99808260..3fa3a6b7 100644 --- a/Documentation/Examples/CMakeLists.txt +++ b/Documentation/Examples/CMakeLists.txt @@ -56,7 +56,7 @@ target_link_libraries (boundary_example ) install (TARGETS boundary_example DESTINATION share/examples) -if (PYTHIA8_FOUND) +if (Pythia8_FOUND) CORSIKA_ADD_TEST (cascade_proton_example) target_link_libraries (cascade_proton_example SuperStupidStack @@ -82,29 +82,28 @@ if (PYTHIA8_FOUND) install (TARGETS cascade_proton_example DESTINATION share/examples) endif() -if (PYTHIA8_FOUND) - CORSIKA_ADD_TEST(vertical_EAS) - target_link_libraries (vertical_EAS - SuperStupidStack - CORSIKAunits - CORSIKAlogging - CORSIKArandom - ProcessSibyll - CORSIKAcascade - ProcessEnergyLoss - ProcessTrackWriter - ProcessTrackingLine - ProcessHadronicElasticModel - ProcessStackInspector - CORSIKAprocesses - CORSIKAcascade - CORSIKAparticles - CORSIKAgeometry - CORSIKAenvironment - CORSIKAprocesssequence - ) - install (TARGETS vertical_EAS DESTINATION share/examples) -endif() +CORSIKA_ADD_TEST(vertical_EAS) +target_link_libraries (vertical_EAS + SuperStupidStack + CORSIKAunits + CORSIKAlogging + CORSIKArandom + ProcessSibyll + CORSIKAcascade + ProcessEnergyLoss + ProcessTrackWriter + ProcessTrackingLine + ProcessHadronicElasticModel + ProcessParticleCut + ProcessStackInspector + CORSIKAprocesses + CORSIKAcascade + CORSIKAparticles + CORSIKAgeometry + CORSIKAenvironment + CORSIKAprocesssequence + ) +install (TARGETS vertical_EAS DESTINATION share/examples) CORSIKA_ADD_TEST (staticsequence_example) target_link_libraries (staticsequence_example -- GitLab