From ae9105bd807e7d13b36a15eea505627a23478909 Mon Sep 17 00:00:00 2001 From: Mirco Valentini Date: Tue, 26 May 2026 14:43:43 +0000 Subject: [PATCH] Remove interpolate tests when mir is not linked --- tests/multio/action/interpolate-mtg2/CMakeLists.txt | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tests/multio/action/interpolate-mtg2/CMakeLists.txt b/tests/multio/action/interpolate-mtg2/CMakeLists.txt index a67e7d020..b96c17db6 100644 --- a/tests/multio/action/interpolate-mtg2/CMakeLists.txt +++ b/tests/multio/action/interpolate-mtg2/CMakeLists.txt @@ -7,6 +7,7 @@ ecbuild_add_test( TARGET ${PREFIX}_initialize SOURCES test_initialize.cc NO_AS_NEEDED + CONDITION HAVE_MIR LIBS multio-action-interpolate-mtg2 multio-action-sink ENVIRONMENT "IFS_INSTALL_DIR=${IFS_INSTALL_DIR}" ) @@ -16,6 +17,7 @@ ecbuild_add_test( TARGET ${PREFIX}_with_sample_data SOURCES test_interpolate-mtg2_with_data.cc NO_AS_NEEDED + CONDITION HAVE_MIR LIBS multio-action-interpolate-mtg2 multio-action-debug-sink ENVIRONMENT "IFS_INSTALL_DIR=${IFS_INSTALL_DIR}" )