From 3184152c1ee59ac56bd248a422fac4a66411d86a Mon Sep 17 00:00:00 2001 From: Shahram Najm Date: Fri, 29 Jul 2022 13:10:23 +0100 Subject: [PATCH] ECC-1431: Build test only if C++ enabled --- tests/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/CMakeLists.txt b/tests/CMakeLists.txt index ef2f56683..490c029c6 100644 --- a/tests/CMakeLists.txt +++ b/tests/CMakeLists.txt @@ -280,7 +280,7 @@ if( HAVE_BUILD_TOOLS ) codes_split_file grib_mars_keys) - if( HAVE_AEC AND ENABLE_EXTRA_TESTS ) + if( HAVE_AEC AND ENABLE_EXTRA_TESTS AND HAVE_EXPERIMENTAL_BUILD_WITH_CXX ) list(APPEND tests_extra grib_ecc-1431) endif() if( HAVE_FORTRAN AND ENABLE_EXTRA_TESTS )