IAP GITLAB

Skip to content
Snippets Groups Projects
Commit 77ca81ad authored by Ralf Ulrich's avatar Ralf Ulrich
Browse files

Merge branch 'for_cmake_3.10.2' into 'master'

old ubuntu LTS system have very old cmake

See merge request !411
parents a292e6c6 a506290b
No related branches found
No related tags found
No related merge requests found
......@@ -99,11 +99,11 @@ else ()
IMPORTED_LOCATION ${Pythia8_LIBDIR}/libpythia8.a
IMPORTED_LINK_INTERFACE_LIBRARIES dl
)
target_include_directories (
C8::ext::pythia8
INTERFACE
$<BUILD_INTERFACE:${Pythia8_INCLUDE_DIRS}>
$<INSTALL_INTERFACE:include/corsika/modules/pythia8/include>
set_property (
TARGET C8::ext::pythia8
APPEND PROPERTY
INTERFACE_INCLUDE_DIRECTORIES $<BUILD_INTERFACE:${Pythia8_INCLUDE_DIRS}>
$<INSTALL_INTERFACE:include/corsika/modules/pythia8/include>
)
message (STATUS "Pythia8 build at: ${Pythia8_PREFIX}, final install to: ${Pythia8_PREFIX_INSTALL}")
......
......@@ -57,6 +57,7 @@ install (
TARGETS Sibyll_static Sibyll
EXPORT CORSIKA8PublicTargets
ARCHIVE DESTINATION lib/corsika
LIBRARY DESTINATION lib/corsika # just for cmake 3.10.x (ubuntu 18)
)
# add sibyll to corsika8 build
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment