diff options
author | jhendersonHDF <jhenderson@hdfgroup.org> | 2023-10-18 01:32:31 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-10-18 01:32:31 (GMT) |
commit | fc788559f7747eeefd152fc8c7844f45d3845300 (patch) | |
tree | 22005bc312b717267db6a176ac73abaf3ce5f1ae /config | |
parent | 2a3b511e96fbc468ef2b934eb169048e723a2f34 (diff) | |
download | hdf5-fc788559f7747eeefd152fc8c7844f45d3845300.zip hdf5-fc788559f7747eeefd152fc8c7844f45d3845300.tar.gz hdf5-fc788559f7747eeefd152fc8c7844f45d3845300.tar.bz2 |
Correct use of set() command with options (#3667) (#3703)
* Correct use of set() command with options
* Force filter off if not found
Co-authored-by: Allen Byrne <50328838+byrnHDF@users.noreply.github.com>
Diffstat (limited to 'config')
-rw-r--r-- | config/cmake/HDF5PluginMacros.cmake | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/config/cmake/HDF5PluginMacros.cmake b/config/cmake/HDF5PluginMacros.cmake index aa409f7..41f746f 100644 --- a/config/cmake/HDF5PluginMacros.cmake +++ b/config/cmake/HDF5PluginMacros.cmake @@ -94,10 +94,10 @@ macro (FILTER_OPTION plname) string(TOLOWER ${plname} PLUGIN_NAME) option (ENABLE_${plname} "Enable Library Building for ${plname} plugin" ON) if (ENABLE_${plname}) - option (HDF_${plname}_USE_EXTERNAL "Use External Library Building for ${PLUGIN_NAME} plugin" 0) + option (HDF_${plname}_USE_EXTERNAL "Use External Library Building for ${PLUGIN_NAME} plugin" OFF) mark_as_advanced (HDF_${plname}_USE_EXTERNAL) if (H5PL_ALLOW_EXTERNAL_SUPPORT MATCHES "GIT" OR H5PL_ALLOW_EXTERNAL_SUPPORT MATCHES "TGZ") - set (HDF_${plname}_USE_EXTERNAL 1 CACHE BOOL "Use External Library Building for ${PLUGIN_NAME} plugin" FORCE) + set (HDF_${plname}_USE_EXTERNAL ON CACHE BOOL "Use External Library Building for ${PLUGIN_NAME} plugin" FORCE) if (H5PL_ALLOW_EXTERNAL_SUPPORT MATCHES "GIT") set (HDF_${plname}_URL ${HDF_${plname}_GIT_URL}) set (HDF_${plname}_BRANCH ${HDF_${plname}_GIT_BRANCH}) |