From 0f8b02c476f28e9bae0add7dbb9b2205e48e7675 Mon Sep 17 00:00:00 2001 From: Dennis Heimbigner Date: Fri, 18 Oct 2024 20:42:55 -0600 Subject: [PATCH] replace --- CMakeLists.txt | 4 ++-- libdispatch/dplugins.c | 1 + 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 36007f710..bf0b96018 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -656,8 +656,8 @@ if(NETCDF_WITH_PLUGIN_DIR) set(NETCDF_ENABLE_PLUGINS yes) endif() # canonical form is all forward slashes -string(replace "\\" "/" DEFAULT_PLUGIN_INSTALL_DIR "${DEFAULT_PLUGIN_INSTALL_DIR}") -string(replace "\\" "/" DEFAULT_PLUGIN_SEARCH_PATH "${DEFAULT_PLUGIN_SEARCH_PATH}") +string(REPLACE "\\" "/" DEFAULT_PLUGIN_INSTALL_DIR "${DEFAULT_PLUGIN_INSTALL_DIR}") +string(REPLACE "\\" "/" DEFAULT_PLUGIN_SEARCH_PATH "${DEFAULT_PLUGIN_SEARCH_PATH}") if(NOT NETCDF_ENABLE_PLUGINS) unset(NETCDF_PLUGIN_INSTALL) diff --git a/libdispatch/dplugins.c b/libdispatch/dplugins.c index 790428fa1..9179f6ecd 100644 --- a/libdispatch/dplugins.c +++ b/libdispatch/dplugins.c @@ -76,6 +76,7 @@ nc_plugin_path_initialize(void) * initial global plugin path using the following rules, which are those used * by the HDF5 library, except as modified for plugin install (which HDF5 does not support). */ + /* Initialize the implementations */ #ifdef NETCDF_ENABLE_NCZARR_FILTERS if((stat = NCZ_plugin_path_initialize())) goto done;