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
Loading
...@@ -99,11 +99,11 @@ else () ...@@ -99,11 +99,11 @@ else ()
IMPORTED_LOCATION ${Pythia8_LIBDIR}/libpythia8.a IMPORTED_LOCATION ${Pythia8_LIBDIR}/libpythia8.a
IMPORTED_LINK_INTERFACE_LIBRARIES dl IMPORTED_LINK_INTERFACE_LIBRARIES dl
) )
target_include_directories ( set_property (
C8::ext::pythia8 TARGET C8::ext::pythia8
INTERFACE APPEND PROPERTY
$<BUILD_INTERFACE:${Pythia8_INCLUDE_DIRS}> INTERFACE_INCLUDE_DIRECTORIES $<BUILD_INTERFACE:${Pythia8_INCLUDE_DIRS}>
$<INSTALL_INTERFACE:include/corsika/modules/pythia8/include> $<INSTALL_INTERFACE:include/corsika/modules/pythia8/include>
) )
message (STATUS "Pythia8 build at: ${Pythia8_PREFIX}, final install to: ${Pythia8_PREFIX_INSTALL}") message (STATUS "Pythia8 build at: ${Pythia8_PREFIX}, final install to: ${Pythia8_PREFIX_INSTALL}")
......
...@@ -57,6 +57,7 @@ install ( ...@@ -57,6 +57,7 @@ install (
TARGETS Sibyll_static Sibyll TARGETS Sibyll_static Sibyll
EXPORT CORSIKA8PublicTargets EXPORT CORSIKA8PublicTargets
ARCHIVE DESTINATION lib/corsika ARCHIVE DESTINATION lib/corsika
LIBRARY DESTINATION lib/corsika # just for cmake 3.10.x (ubuntu 18)
) )
# add sibyll to corsika8 build # 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