From 4a340ae92204de94c7fb1a0707238ec8e745a008 Mon Sep 17 00:00:00 2001 From: ralfulrich <ralf.ulrich@kit.edu> Date: Fri, 29 Jan 2021 19:44:09 +0100 Subject: [PATCH] conex cfg files --- CMakeLists.txt | 4 ++-- examples/cascade_proton_example.cpp | 2 +- modules/urqmd/CMakeLists.txt | 3 --- 3 files changed, 3 insertions(+), 6 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 45c0816ca..40954d86d 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -309,7 +309,7 @@ install ( configure_package_config_file ( cmake/corsikaConfig.cmake.in ${PROJECT_BINARY_DIR}/corsikaConfig.cmake - INSTALL_DESTINATION ${CMAKE_BINARY_DIR}/do_not_need_this + INSTALL_DESTINATION ${CMAKE_INSTALL_PREFIX} ) # config for install tree @@ -319,7 +319,7 @@ set (Pythia8_LIBDIR ${Pythia8_LIBDIR_INSTALL}) configure_package_config_file ( cmake/corsikaConfig.cmake.in ${PROJECT_BINARY_DIR}/cmake/corsikaConfig.cmake - INSTALL_DESTINATION ${CMAKE_INSTALL_PREFIX} + INSTALL_DESTINATION ${CMAKE_BINARY_DIR}/do_not_need_this ) install (FILES diff --git a/examples/cascade_proton_example.cpp b/examples/cascade_proton_example.cpp index 6381feff4..4b24f3b01 100644 --- a/examples/cascade_proton_example.cpp +++ b/examples/cascade_proton_example.cpp @@ -90,7 +90,7 @@ int main() { stack.clear(); const Code beamCode = Code::Proton; const HEPMassType mass = Proton::mass; - const HEPEnergyType E0 = 100_GeV; + const HEPEnergyType E0 = 1000_GeV; double theta = 0.; double phi = 0.; diff --git a/modules/urqmd/CMakeLists.txt b/modules/urqmd/CMakeLists.txt index d5b921c45..b60484848 100644 --- a/modules/urqmd/CMakeLists.txt +++ b/modules/urqmd/CMakeLists.txt @@ -1,6 +1,3 @@ -cmake_minimum_required (VERSION 3.1) -project (libUrQMD) - set ( MODEL_SOURCES urqmd.cpp -- GitLab