summaryrefslogtreecommitdiffstats
path: root/config/cmake/HDF5PluginMacros.cmake
diff options
context:
space:
mode:
authorAllen Byrne <50328838+byrnHDF@users.noreply.github.com>2021-01-13 14:29:15 (GMT)
committerGitHub <noreply@github.com>2021-01-13 14:29:15 (GMT)
commitb1eb47ac4dce3f5bd548fb3bee0f630679b1eee8 (patch)
treeeba373a72f3644af48ce222d9046709584dd85e9 /config/cmake/HDF5PluginMacros.cmake
parentb84f48f929ec02b9a2fefa036c63656af2f4aa89 (diff)
downloadhdf5-b1eb47ac4dce3f5bd548fb3bee0f630679b1eee8.zip
hdf5-b1eb47ac4dce3f5bd548fb3bee0f630679b1eee8.tar.gz
hdf5-b1eb47ac4dce3f5bd548fb3bee0f630679b1eee8.tar.bz2
Reclassify CMake messages - HDFFV-11144 (#253)
* OESS-98 convert plugin option to FetchContent, add tests * Fixes for pkcfg files because of plugin option * OESS-98 fix tools test for plugins * Keep doxygen comments under 100 chars long - format hint * Whitespace * HDFFV-11144 - Reclassify CMake messages
Diffstat (limited to 'config/cmake/HDF5PluginMacros.cmake')
-rw-r--r--config/cmake/HDF5PluginMacros.cmake10
1 files changed, 7 insertions, 3 deletions
diff --git a/config/cmake/HDF5PluginMacros.cmake b/config/cmake/HDF5PluginMacros.cmake
index a858353..4e05399 100644
--- a/config/cmake/HDF5PluginMacros.cmake
+++ b/config/cmake/HDF5PluginMacros.cmake
@@ -14,7 +14,9 @@ macro (EXTERNAL_PLUGIN_LIBRARY compress_type)
)
endif ()
FetchContent_GetProperties(PLUGIN)
- message (STATUS "HDF5_INCLUDE_DIR=${HDF5_INCLUDE_DIR}")
+ if (CMAKE_VERSION VERSION_GREATER_EQUAL "3.15.0")
+ message (VERBOSE "HDF5_INCLUDE_DIR=${HDF5_INCLUDE_DIR}")
+ endif ()
if(NOT PLUGIN_POPULATED)
FetchContent_Populate(PLUGIN)
include (${HDF_RESOURCES_DIR}/HDF5PluginCache.cmake)
@@ -65,8 +67,10 @@ macro (EXTERNAL_PLUGIN_LIBRARY compress_type)
add_dependencies (h5ex_d_zfp ${HDF5_LIBSH_TARGET})
target_include_directories (h5ex_d_zfp PRIVATE "${HDF5_SRC_DIR};${HDF5_SRC_BINARY_DIR}")
endif ()
- endif()
- message (STATUS "HDF5_INCLUDE_DIR=${HDF5_INCLUDE_DIR}")
+ endif ()
+ if (CMAKE_VERSION VERSION_GREATER_EQUAL "3.15.0")
+ message (VERBOSE "HDF5_INCLUDE_DIR=${HDF5_INCLUDE_DIR}")
+ endif ()
set (PLUGIN_BINARY_DIR "${plugin_BINARY_DIR}")
set (PLUGIN_SOURCE_DIR "${plugin_SOURCE_DIR}")
set (PLUGIN_LIBRARY "PLUGIN")