Replace ENABLE_INTERNAL_DOCS with NETCDF_ENABLE_INTERNAL_DOCS

This commit is contained in:
Kyle Shores 2024-03-18 15:37:03 -05:00
parent c5f24df396
commit 39a04033d3
3 changed files with 5 additions and 5 deletions

View File

@ -1002,8 +1002,8 @@ set(ENABLE_CLIENTSIDE_FILTERS OFF)
option(NETCDF_ENABLE_DOXYGEN "Enable generation of doxygen-based documentation." OFF)
if(NETCDF_ENABLE_DOXYGEN)
# Offer the option to build internal documentation.
option(ENABLE_INTERNAL_DOCS "Build internal documentation. This is of interest to developers only." OFF)
if(ENABLE_INTERNAL_DOCS)
option(NETCDF_ENABLE_INTERNAL_DOCS "Build internal documentation. This is of interest to developers only." OFF)
if(NETCDF_ENABLE_INTERNAL_DOCS)
set(BUILD_INTERNAL_DOCS yes CACHE STRING "")
else()
set(BUILD_INTERNAL_DOCS no CACHE STRING "")
@ -1081,7 +1081,7 @@ if(MSVC)
endif()
# Set some of the options as advanced.
MARK_AS_ADVANCED(ENABLE_INTERNAL_DOCS VALGRIND_TESTS NETCDF_ENABLE_COVERAGE_TESTS )
MARK_AS_ADVANCED(NETCDF_ENABLE_INTERNAL_DOCS VALGRIND_TESTS NETCDF_ENABLE_COVERAGE_TESTS )
MARK_AS_ADVANCED(NETCDF_ENABLE_DAP_REMOTE_TESTS NETCDF_ENABLE_DAP_LONG_TESTS USE_REMOTE_CDASH NETCDF_ENABLE_EXTERNAL_SERVER_TESTS)
MARK_AS_ADVANCED(NETCDF_ENABLE_DOXYGEN_BUILD_RELEASE_DOCS NETCDF_DOXYGEN_ENABLE_TASKS NETCDF_ENABLE_DOXYGEN_SERVER_SIDE_SEARCH)
MARK_AS_ADVANCED(ENABLE_SHARED_LIBRARY_VERSION)

View File

@ -485,7 +485,7 @@ with zip */
#cmakedefine BUILD_V2 1
#cmakedefine NETCDF_ENABLE_DOXYGEN 1
#cmakedefine ENABLE_INTERNAL_DOCS 1
#cmakedefine NETCDF_ENABLE_INTERNAL_DOCS 1
#cmakedefine VALGRIND_TESTS 1
#cmakedefine ENABLE_CDMREMOTE 1
#cmakedefine USE_HDF5 1

View File

@ -83,7 +83,7 @@ are set when opening a binary file on Windows. */
#cmakedefine USE_FSYNC 1
#cmakedefine JNA 1
#cmakedefine NETCDF_ENABLE_DOXYGEN 1
#cmakedefine ENABLE_INTERNAL_DOCS 1
#cmakedefine NETCDF_ENABLE_INTERNAL_DOCS 1
#cmakedefine VALGRIND_TESTS 1
#cmakedefine ENABLE_CDMREMOTE 1
#cmakedefine USE_DAP 1