diff --git a/Documentation/Examples/CMakeLists.txt b/Documentation/Examples/CMakeLists.txt index 99808260eebe0025bd632ee87de45d983e2be7da..3fa3a6b79e000e1bed4b222d137e329ed290fe32 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