diff options
author | Allen Byrne <50328838+byrnHDF@users.noreply.github.com> | 2023-10-12 21:37:12 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-10-12 21:37:12 (GMT) |
commit | 34cd27a6781b7b0fcb9d711e280ae05d06390617 (patch) | |
tree | 961fe075baffb07e7c717453dcddaae7cc56d291 /config | |
parent | ea3f92605761e1ff17d858df303dc375df7efc1c (diff) | |
download | hdf5-34cd27a6781b7b0fcb9d711e280ae05d06390617.zip hdf5-34cd27a6781b7b0fcb9d711e280ae05d06390617.tar.gz hdf5-34cd27a6781b7b0fcb9d711e280ae05d06390617.tar.bz2 |
Correct use of set() command with options (#3667)
* Correct use of set() command with options
* Force filter off if not found
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}) |