From d9dfbd27950d8b3c205983066e8b954516a23717 Mon Sep 17 00:00:00 2001 From: Maximilian Reininghaus <maximilian.reininghaus@kit.edu> Date: Fri, 15 Feb 2019 15:58:14 +0100 Subject: [PATCH] fixed build deps --- Framework/ProcessSequence/BoundaryCrossingProcess.h | 1 + Framework/ProcessSequence/CMakeLists.txt | 6 ++++++ Framework/Random/CMakeLists.txt | 7 +++++++ 3 files changed, 14 insertions(+) diff --git a/Framework/ProcessSequence/BoundaryCrossingProcess.h b/Framework/ProcessSequence/BoundaryCrossingProcess.h index 1e90e9ae..6157aeee 100644 --- a/Framework/ProcessSequence/BoundaryCrossingProcess.h +++ b/Framework/ProcessSequence/BoundaryCrossingProcess.h @@ -12,6 +12,7 @@ #define _include_corsika_processes_BoundaryCrossingProcess_h_ #include <corsika/environment/Environment.h> +#include <corsika/process/ProcessReturn.h> namespace corsika::process { template <typename TDerived> diff --git a/Framework/ProcessSequence/CMakeLists.txt b/Framework/ProcessSequence/CMakeLists.txt index db0b3dbf..9ec9072d 100644 --- a/Framework/ProcessSequence/CMakeLists.txt +++ b/Framework/ProcessSequence/CMakeLists.txt @@ -34,6 +34,12 @@ install ( FILES ${CORSIKAprocesssequence_HEADERS} DESTINATION include/${CORSIKAprocesssequence_NAMESPACE} ) + +target_link_libraries ( + CORSIKAprocesssequence + INTERFACE + CORSIKAenvironment +) #-- -- -- -- -- -- -- -- #code unit testing diff --git a/Framework/Random/CMakeLists.txt b/Framework/Random/CMakeLists.txt index 84479e12..bbbe8d32 100644 --- a/Framework/Random/CMakeLists.txt +++ b/Framework/Random/CMakeLists.txt @@ -19,6 +19,13 @@ set ( add_library (CORSIKArandom STATIC ${CORSIKArandom_SOURCES}) CORSIKA_COPY_HEADERS_TO_NAMESPACE (CORSIKArandom ${CORSIKArandom_NAMESPACE} ${CORSIKArandom_HEADERS}) +target_link_libraries ( + CORSIKArandom + INTERFACE + CORSIKAutilities + CORSIKAunits + ) + target_include_directories ( CORSIKArandom PUBLIC -- GitLab