From a368c8e977e7e315d600bc9397f0798c8b884987 Mon Sep 17 00:00:00 2001
From: Maximilian Reininghaus <maximilian.reininghaus@tu-dortmund.de>
Date: Tue, 14 Jul 2020 10:08:38 +0200
Subject: [PATCH] fix corsika-data path and libCorsikaData link

---
 .gitlab-ci.yml                 | 2 +-
 Processes/CONEX/CMakeLists.txt | 1 +
 2 files changed, 2 insertions(+), 1 deletion(-)

diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 74a1b7431..cb746cecd 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -11,7 +11,7 @@ variables:
   LSAN_OPTIONS: "log_threads=1"
   ASAN_OPTIONS: "detect_leaks=0:detect_stack_use_after_return=1"
   # location of AirShowerPhysics/corsika-data
-  # CORSIKA_DATA: "${CI_PROJECT_DIR}/corsika-data/"
+  CORSIKA_DATA: "${CI_PROJECT_DIR}/Data" # the git submodule
   # _alternatively_ corsika-data can be downloaded as submodule:
   GIT_SUBMODULE_STRATEGY: normal
 
diff --git a/Processes/CONEX/CMakeLists.txt b/Processes/CONEX/CMakeLists.txt
index 7aa2f4d61..3f2ef6fd8 100644
--- a/Processes/CONEX/CMakeLists.txt
+++ b/Processes/CONEX/CMakeLists.txt
@@ -35,6 +35,7 @@ target_link_libraries (
   CORSIKAenvironment
   CORSIKAsetup
   CORSIKArandom
+  CorsikaData
   C8::ext::conex
   )
 
-- 
GitLab