From a0cd302d557942afc199c67d8f525d09413c3bc3 Mon Sep 17 00:00:00 2001
From: ralfulrich <ralf.ulrich@kit.edu>
Date: Tue, 28 May 2019 07:00:57 +0200
Subject: [PATCH] fixed cmake files

---
 Processes/CMakeLists.txt               | 2 +-
 Processes/SwitchProcess/CMakeLists.txt | 8 --------
 2 files changed, 1 insertion(+), 9 deletions(-)

diff --git a/Processes/CMakeLists.txt b/Processes/CMakeLists.txt
index 7ef912d15..313dd46f8 100644
--- a/Processes/CMakeLists.txt
+++ b/Processes/CMakeLists.txt
@@ -10,7 +10,6 @@ endif (PYTHIA8_FOUND)
 add_subdirectory (HadronicElasticModel)
 add_subdirectory (UrQMD)
 add_subdirectory (SwitchProcess)
-add_subdirectory (ParticleCut)
 
 # continuous physics
 add_subdirectory (EnergyLoss)
@@ -19,6 +18,7 @@ add_subdirectory (TrackWriter)
 add_subdirectory (StackInspector)
 # secondaries process
 # cuts, thinning, etc.
+add_subdirectory (ParticleCut)
 
 ##########################################
 # add_custom_target(CORSIKAprocesses)
diff --git a/Processes/SwitchProcess/CMakeLists.txt b/Processes/SwitchProcess/CMakeLists.txt
index 577fdf9ce..c8e6bf737 100644
--- a/Processes/SwitchProcess/CMakeLists.txt
+++ b/Processes/SwitchProcess/CMakeLists.txt
@@ -11,14 +11,6 @@ set (
 add_library (ProcessSwitch INTERFACE)
 CORSIKA_COPY_HEADERS_TO_NAMESPACE (ProcessSwitch ${MODEL_NAMESPACE} ${MODEL_HEADERS})
 
-set_target_properties (
-  ProcessStackInspector
-  PROPERTIES
-  VERSION ${PROJECT_VERSION}
-  SOVERSION 1
-#  PUBLIC_HEADER "${MODEL_HEADERS}"
-  )
-
 # target dependencies on other libraries (also the header onlys)
 target_link_libraries (
   ProcessSwitch
-- 
GitLab