IAP GITLAB

Skip to content
Snippets Groups Projects
Commit 0b4cabe0 authored by ralfulrich's avatar ralfulrich
Browse files

...also for catch2

parent bdfb0b4c
No related branches found
No related tags found
No related merge requests found
Pipeline #3151 failed
......@@ -13,6 +13,10 @@ if (NOT TARGET CONAN_PKG::bzip2)
message (FATAL_ERROR "Please configure with conan bzip2 package")
endif (NOT TARGET CONAN_PKG::bzip2)
if (NOT TARGET CONAN_PKG::catch2)
message (FATAL_ERROR "Please configure with conan catch2 package")
endif (NOT TARGET CONAN_PKG::catch2)
enable_testing ()
if (${CMAKE_VERSION} VERSION_LESS "3.12.0")
list (APPEND CMAKE_CTEST_ARGUMENTS "--output-on-failure")
......
......@@ -4,7 +4,11 @@ set (
)
add_library (CorsikaData STATIC ${files})
target_link_libraries (CorsikaData PUBLIC CONAN_PKG::bzip2)
target_link_libraries (CorsikaData
PUBLIC
CONAN_PKG::bzip2
CONAN_PKG::catch2
)
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