Replace ENABLE_XGETOPT with NETCDF_ENABLE_XGETOPT

This commit is contained in:
Kyle Shores 2024-03-18 15:43:39 -05:00
parent ff1307b62d
commit d9bdb5cf86
2 changed files with 4 additions and 63 deletions

View File

@ -659,8 +659,8 @@ endif()
# for MSVC builds. If not building utilities or some tests,
# getopt() isn't required at all.
if(MSVC)
option(ENABLE_XGETOPT "Enable bundled XGetOpt instead of external getopt()." ON)
if(ENABLE_XGETOPT)
option(NETCDF_ENABLE_XGETOPT "Enable bundled XGetOpt instead of external getopt()." ON)
if(NETCDF_ENABLE_XGETOPT)
set(USE_X_GETOPT ON CACHE BOOL "")
endif()
endif()

View File

@ -1,61 +1,2 @@
ENABLE_BASH_SCRIPT_TESTING
ENABLE_BENCHMARKS
ENABLE_BYTERANGE
ENABLE_CDF5
ENABLE_CONVERSION_WARNINGS
ENABLE_COVERAGE_TESTS
ENABLE_DAP
ENABLE_DAP_LONG_TESTS
ENABLE_DAP_REMOTE_TESTS
ENABLE_DISKLESS
ENABLE_DLL
ENABLE_DOXYGEN
ENABLE_DOXYGEN_BUILD_RELEASE_DOCS
ENABLE_DOXYGEN_PDF_OUTPUT
ENABLE_DOXYGEN_SERVER_SIDE_SEARCH
ENABLE_ERANGE_FILL
ENABLE_EXAMPLES
ENABLE_EXAMPLE_TESTS
ENABLE_EXTERNAL_SERVER_TESTS
ENABLE_EXTRA_TESTS
ENABLE_EXTREME_NUMBERS
ENABLE_FAILING_TESTS
ENABLE_FFIO
ENABLE_FILTER_BLOSC
ENABLE_FILTER_BZ2
ENABLE_FILTER_SZIP
ENABLE_FILTER_TESTING
ENABLE_FILTER_ZSTD
ENABLE_FSYNC
ENABLE_HDF4
ENABLE_HDF4_FILE_TESTS
ENABLE_HDF5
ENABLE_INTERNAL_DOCS
ENABLE_LARGE_FILE_SUPPORT
ENABLE_LARGE_FILE_TESTS
ENABLE_LIBXML2
ENABLE_LOGGING
ENABLE_METADATA_PERF_TESTS
ENABLE_MMAP
ENABLE_NCZARR
ENABLE_NCZARR_FILTERS
ENABLE_NCZARR_FILTERS_TESTING
ENABLE_NCZARR_S3
ENABLE_NCZARR_ZIP
ENABLE_NETCDF4
ENABLE_NETCDF_4
ENABLE_PARALLEL4
ENABLE_PARALLEL_TESTS
ENABLE_PLUGINS
ENABLE_PNETCDF
ENABLE_QUANTIZE
ENABLE_REMOTE_FUNCTIONALITY
ENABLE_S3
ENABLE_S3_INTERNAL
ENABLE_SET_LOG_LEVEL_FUNC
ENABLE_SHARED_LIBRARY_VERSION
ENABLE_STDIO
ENABLE_STRICT_NULL_BYTE_HEADER_PADDING
ENABLE_TESTS
ENABLE_UNIT_TESTS
ENABLE_XGETOPT
ENABLE_XGETOPT
BUILD_SHARED_LIBS