From ea56b21cd340792235e96cb4eebe36531195adb1 Mon Sep 17 00:00:00 2001 From: Kyle Shores Date: Mon, 18 Mar 2024 15:35:38 -0500 Subject: [PATCH] Replace ENABLE_EXAMPLE_TESTS with NETCDF_ENABLE_EXAMPLE_TESTS --- CMakeLists.txt | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 4b81c1da8..cb9b938ce 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -850,9 +850,9 @@ if(ENABLE_LARGE_FILE_SUPPORT) endif() endif() -option(ENABLE_EXAMPLE_TESTS "Run extra example tests. Requires GNU Sed. Ignored if HDF5 is not Enabled" OFF) -if(NOT ENABLE_HDF5 AND ENABLE_EXAMPLE_TESTS) - set(ENABLE_EXAMPLE_TESTS OFF) +option(NETCDF_ENABLE_EXAMPLE_TESTS "Run extra example tests. Requires GNU Sed. Ignored if HDF5 is not Enabled" OFF) +if(NOT ENABLE_HDF5 AND NETCDF_ENABLE_EXAMPLE_TESTS) + set(NETCDF_ENABLE_EXAMPLE_TESTS OFF) endif() ##################################