Replace ENABLE_EXAMPLE_TESTS with NETCDF_ENABLE_EXAMPLE_TESTS

This commit is contained in:
Kyle Shores 2024-03-18 15:35:38 -05:00
parent 086401f86f
commit ea56b21cd3

View File

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