ECC-1431: Build test only if C++ enabled

This commit is contained in:
Shahram Najm 2022-07-29 13:10:23 +01:00
parent 1de0eff6ba
commit 3184152c1e
1 changed files with 1 additions and 1 deletions

View File

@ -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 )