From 39a04033d32849e176cb3fa976d792f56e27dc19 Mon Sep 17 00:00:00 2001 From: Kyle Shores Date: Mon, 18 Mar 2024 15:37:03 -0500 Subject: [PATCH] Replace ENABLE_INTERNAL_DOCS with NETCDF_ENABLE_INTERNAL_DOCS --- CMakeLists.txt | 6 +++--- config.h.cmake.in | 2 +- config.h.cmake.in.old-works | 2 +- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index e0761bc0d..5881b43b4 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -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) diff --git a/config.h.cmake.in b/config.h.cmake.in index 3a231e1cb..537140ae0 100644 --- a/config.h.cmake.in +++ b/config.h.cmake.in @@ -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 diff --git a/config.h.cmake.in.old-works b/config.h.cmake.in.old-works index f33d4313e..fe30be321 100644 --- a/config.h.cmake.in.old-works +++ b/config.h.cmake.in.old-works @@ -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