Skip to content

Commit fc76a5a

Browse files
authored
Minor -- fix UNset to unset
The Unidata#2842 PR changed most CMake keywords to lowercase, but missed (a portion) of the UNSET commands which were changed to `UNset`. This follows on to that and pushes them all the way to `unset`
1 parent 1214d98 commit fc76a5a

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

CMakeLists.txt

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -568,7 +568,7 @@ if(DEFINED PLUGIN_INSTALL_DIR)
568568
if(boolval)
569569
set(ENABLE_PLUGIN_INSTALL YES)
570570
# No actual value was specified
571-
UNset(PLUGIN_INSTALL_DIR CACHE)
571+
unset(PLUGIN_INSTALL_DIR CACHE)
572572
else()
573573
if(boolval STREQUAL "NOTFOUND")
574574
# Must be an actual value
@@ -583,7 +583,7 @@ endif()
583583

584584
# Ensure no defined plugin dir if not enabled
585585
if(NOT ENABLE_PLUGIN_INSTALL)
586-
UNset(PLUGIN_INSTALL_DIR CACHE)
586+
unset(PLUGIN_INSTALL_DIR CACHE)
587587
endif()
588588

589589
if(ENABLE_PLUGIN_INSTALL)
@@ -615,8 +615,8 @@ if(ENABLE_PLUGIN_INSTALL)
615615
set(PLUGIN_INSTALL_DIR_SETTING "${PLUGIN_INSTALL_DIR}")
616616
message("Final value of-DPLUGIN_INSTALL_DIR=${PLUGIN_INSTALL_DIR}")
617617
else() # No option specified
618-
UNset(PLUGIN_INSTALL_DIR)
619-
UNset(PLUGIN_INSTALL_DIR CACHE)
618+
unset(PLUGIN_INSTALL_DIR)
619+
unset(PLUGIN_INSTALL_DIR CACHE)
620620
set(PLUGIN_INSTALL_DIR_SETTING "N.A.")
621621
endif()
622622

@@ -696,7 +696,7 @@ endif()
696696
if (NOT ENABLE_S3 AND ENABLE_NCZARR_S3)
697697
set(ENABLE_S3 ON CACHE BOOL "NCARR S3" FORCE) # For back compatibility
698698
endif()
699-
UNset(ENABLE_NCZARR_S3)
699+
unset(ENABLE_NCZARR_S3)
700700

701701
if(NOT ENABLE_REMOTE_FUNCTIONALITY)
702702
message(WARNING "ENABLE_REMOTE_FUNCTIONALITY=NO => disable all s3 functionality")

0 commit comments

Comments
 (0)