diff --git a/CMakeModules/CorsikaUtilities.cmake b/CMakeModules/CorsikaUtilities.cmake
index 52521e9cfea91c21149ffa1e6b9681c332b5f20c..fb6517c48b189d9fdb0041c626199a113d2bd229 100644
--- a/CMakeModules/CorsikaUtilities.cmake
+++ b/CMakeModules/CorsikaUtilities.cmake
@@ -206,4 +206,5 @@ function (CORSIKA_ADD_EXAMPLE)
     COMMAND ${CMAKE_COMMAND} -E echo "*****   running example: ${name}"
     COMMAND ${CMAKE_CURRENT_BINARY_DIR}/${name}
     WORKING_DIRECTORY ${PROJECT_BINARY_DIR}/example_outputs)
+  install (TARGETS ${name} DESTINATION share/examples)
 endfunction (CORSIKA_ADD_EXAMPLE)
diff --git a/Documentation/Examples/CMakeLists.txt b/Documentation/Examples/CMakeLists.txt
index b195db28920e20d082de62c5cc8853ff9c51e79a..809f696e27fe7dfd00e13a8a7bdc5dd3e54d4ef9 100644
--- a/Documentation/Examples/CMakeLists.txt
+++ b/Documentation/Examples/CMakeLists.txt
@@ -1,26 +1,22 @@
 
 CORSIKA_ADD_EXAMPLE (helix_example)
 target_link_libraries (helix_example CORSIKAgeometry CORSIKAunits)
-install (TARGETS helix_example DESTINATION share/examples)
 
 CORSIKA_ADD_EXAMPLE (particle_list_example)
 target_link_libraries (particle_list_example CORSIKAparticles CORSIKAunits CORSIKAprocesses ProcessSibyll ProcessQGSJetII)
-install (TARGETS particle_list_example DESTINATION share/examples)
 
 CORSIKA_ADD_EXAMPLE (geometry_example)
 target_link_libraries (geometry_example CORSIKAgeometry CORSIKAunits)
-install (TARGETS geometry_example DESTINATION share/examples)
 
 CORSIKA_ADD_EXAMPLE (logger_example)
 target_link_libraries (logger_example CORSIKAunits CORSIKAlogging)
-install (TARGETS logger_example DESTINATION share/examples)
 
 CORSIKA_ADD_EXAMPLE (stack_example)
 target_link_libraries (stack_example SuperStupidStack CORSIKAunits
   CORSIKAlogging)
 
 # address sanitizer is making this example too slow, so we only do "undefined"
-CORSIKA_ADD_EXAMPLE (cascade_example)
+CORSIKA_ADD_EXAMPLE (boundary_example)
 target_link_libraries (boundary_example
   SuperStupidStack
   CORSIKAunits
@@ -37,7 +33,29 @@ target_link_libraries (boundary_example
   CORSIKAenvironment
   CORSIKAprocesssequence
   )
-install (TARGETS boundary_example DESTINATION share/examples)
+
+CORSIKA_ADD_EXAMPLE (cascade_example)
+target_link_libraries (cascade_example
+  SuperStupidStack
+  CORSIKAunits
+  CORSIKAlogging
+  CORSIKArandom
+  ProcessSibyll
+  CORSIKAcascade
+  ProcessEnergyLoss
+  ProcessTrackWriter
+  ProcessStackInspector
+  ProcessTrackingLine
+  ProcessParticleCut
+  ProcessHadronicElasticModel
+  ProcessStackInspector
+  CORSIKAprocesses
+  CORSIKAcascade
+  CORSIKAparticles
+  CORSIKAgeometry
+  CORSIKAenvironment
+  CORSIKAprocesssequence
+  )
 
 if (Pythia8_FOUND)
   CORSIKA_ADD_EXAMPLE (cascade_proton_example)
@@ -63,7 +81,6 @@ if (Pythia8_FOUND)
     CORSIKAenvironment
     CORSIKAprocesssequence
     )
-  install (TARGETS cascade_proton_example DESTINATION share/examples)
 
   CORSIKA_ADD_EXAMPLE (vertical_EAS)
   target_link_libraries (vertical_EAS
@@ -90,7 +107,6 @@ if (Pythia8_FOUND)
     CORSIKAenvironment
     CORSIKAprocesssequence
     )
-  install (TARGETS vertical_EAS DESTINATION share/examples)
 endif()
 
 CORSIKA_ADD_EXAMPLE (stopping_power stopping_power)
@@ -102,7 +118,6 @@ target_link_libraries (stopping_power
   CORSIKAgeometry
   CORSIKAenvironment
   )
-install (TARGETS stopping_power DESTINATION share/examples)
 
 CORSIKA_ADD_EXAMPLE (staticsequence_example)
 target_link_libraries (staticsequence_example
@@ -110,4 +125,3 @@ target_link_libraries (staticsequence_example
   CORSIKAunits
   CORSIKAgeometry
   CORSIKAlogging)
-install (TARGETS staticsequence_example DESTINATION share/examples)