From 24bdf6c0679064d8959d95ab2f28ca8947e8377c Mon Sep 17 00:00:00 2001 From: Ward Fisher Date: Tue, 28 Jun 2022 14:56:38 -0600 Subject: [PATCH] Generate nc_test/run_pnetcdf_tests.sh when using cmake, in support of https://github.com/Unidata/netcdf-c/issues/2435 --- CMakeLists.txt | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/CMakeLists.txt b/CMakeLists.txt index 944e302d8..95ec80461 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -1479,6 +1479,12 @@ IF(ENABLE_PNETCDF) ELSE() MESSAGE(WARNING "ENABLE_PNETCDF requires version 1.6.1 or later; found version ${pnetcdf_version}. PnetCDF is disabled") ENDIF() + + ### + # Generate pnetcdf test. + ### + CONFIGURE_FILE("${netCDF_SOURCE_DIR}/nc_test/run_pnetcdf_tests.sh.in" + "${netCDF_BINARY_DIR}/nc_test/run_pnetcdf_tests.sh") ENDIF(NOT PNETCDF) ENDIF()