IAP GITLAB

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

Merge branch '306-unable-to-find-boost' into 'master'

Resolve "Unable to find boost"

Closes #306

See merge request AirShowerPhysics/corsika!260
parents b3abfc43 b46a80bd
No related branches found
No related tags found
No related merge requests found
...@@ -47,14 +47,11 @@ set ( ...@@ -47,14 +47,11 @@ set (
add_library (ProcessUrQMD STATIC ${MODEL_SOURCES}) add_library (ProcessUrQMD STATIC ${MODEL_SOURCES})
CORSIKA_COPY_HEADERS_TO_NAMESPACE (ProcessUrQMD ${MODEL_NAMESPACE} ${MODEL_HEADERS}) CORSIKA_COPY_HEADERS_TO_NAMESPACE (ProcessUrQMD ${MODEL_NAMESPACE} ${MODEL_HEADERS})
find_package(Boost REQUIRED)
set_target_properties ( set_target_properties (
ProcessUrQMD ProcessUrQMD
PROPERTIES PROPERTIES
VERSION ${PROJECT_VERSION} VERSION ${PROJECT_VERSION}
SOVERSION 1 SOVERSION 1
# PUBLIC_HEADER "${MODEL_HEADERS}"
) )
# target dependencies on other libraries (also the header onlys) # target dependencies on other libraries (also the header onlys)
......
...@@ -35,7 +35,7 @@ message (STATUS "USE_BOOST_C8='${USE_BOOST_C8}'") ...@@ -35,7 +35,7 @@ message (STATUS "USE_BOOST_C8='${USE_BOOST_C8}'")
add_library (C8::ext::boost INTERFACE IMPORTED GLOBAL) add_library (C8::ext::boost INTERFACE IMPORTED GLOBAL)
if ("x_${USE_BOOST_C8}" STREQUAL "x_SYSTEM") if ("x_${USE_BOOST_C8}" STREQUAL "x_SYSTEM")
find_package (Boost REQUIRED COMPONENTS mp11 iterator core format interval optional type_index histogram) find_package (Boost REQUIRED COMPONENTS mp11 iterator core format interval optional type_index histogram multi_array)
message (STATUS "Using system-level boost version ${Boost_VERSION} at ${Boost_INCLUDE_DIR}") message (STATUS "Using system-level boost version ${Boost_VERSION} at ${Boost_INCLUDE_DIR}")
set_target_properties ( set_target_properties (
......
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