IAP GITLAB

Skip to content
Snippets Groups Projects
Commit 4a663815 authored by ralfulrich's avatar ralfulrich
Browse files

bzip2 from conan

parent 4d1785e7
No related branches found
No related tags found
No related merge requests found
Pipeline #3145 failed
......@@ -9,7 +9,9 @@ if (hasParent)
set (CorsikaData_VERSION "1.1.0" PARENT_SCOPE)
endif (hasParent)
find_package (BZip2 REQUIRED)
if (NOT TAGET CONAN_PKG::bzip2)
message (FATAL_ERROR "Please configure with conan bzip2 package")
endif (NOT TAGET CONAN_PKG::bzip2)
enable_testing ()
if (${CMAKE_VERSION} VERSION_LESS "3.12.0")
......
......@@ -4,7 +4,7 @@ set (
)
add_library (CorsikaData STATIC ${files})
target_link_libraries (CorsikaData PUBLIC BZip2::BZip2)
target_link_libraries (CorsikaData PUBLIC CONAN_PKG::bzip2)
set_target_properties (
CorsikaData
......
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