mirror of
https://github.com/Unidata/netcdf-c.git
synced 2024-11-21 03:13:42 +08:00
replace
This commit is contained in:
parent
f947687ae5
commit
0f8b02c476
@ -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)
|
||||
|
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user