From c8a2d53d34e685911554d0b6912a2c8971e39093 Mon Sep 17 00:00:00 2001 From: Ed Hartnett Date: Mon, 20 Nov 2017 08:25:47 -0700 Subject: [PATCH] fixes HDF4 build with cmake --- nc_test4/CMakeLists.txt | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/nc_test4/CMakeLists.txt b/nc_test4/CMakeLists.txt index d06649ca5..51f14339c 100644 --- a/nc_test4/CMakeLists.txt +++ b/nc_test4/CMakeLists.txt @@ -42,10 +42,6 @@ IF(LARGE_FILE_TESTS) ENDIF() -IF(USE_HDF4) - SET(NC4_TESTS ${NC4_TESTS} tst_interops2) -ENDIF() - IF(USE_SZIP) BUILD_BIN_TEST(test_szip) BUILD_BIN_TEST(h5testszip) @@ -84,6 +80,7 @@ ENDFOREACH() # immediately above this comment. IF(USE_HDF4_FILE_TESTS AND NOT MSVC) add_sh_test(nc_test4 run_get_hdf4_files) + add_bin_test_no_prefix(tst_interops2) add_bin_test(nc_test4 tst_interops3) add_bin_test(nc_test4 tst_bug324) add_sh_test(nc_test4 tst_formatx_hdf4)