Skip to content

Commit

Permalink
Protect atlas_test_array_view_variant to eckit v 1.27.0
Browse files Browse the repository at this point in the history
  • Loading branch information
wdeconinck committed Nov 15, 2024
1 parent fc85c7e commit 3de9361
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/tests/array/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -81,8 +81,11 @@ atlas_add_hic_test(
ENVIRONMENT ${ATLAS_TEST_ENVIRONMENT}
)

if(eckit_VERSION VERSION_GREATER_EQUAL 1.27.0)
# The test uses a header file from eckit "Overloaded.h" which only is available in v 1.27.0
ecbuild_add_test( TARGET atlas_test_array_view_variant
SOURCES test_array_view_variant.cc
LIBS atlas
ENVIRONMENT ${ATLAS_TEST_ENVIRONMENT}
)
endif()

0 comments on commit 3de9361

Please sign in to comment.