diff options
author | Allen Byrne <50328838+byrnHDF@users.noreply.github.com> | 2021-01-13 14:29:15 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-01-13 14:29:15 (GMT) |
commit | b1eb47ac4dce3f5bd548fb3bee0f630679b1eee8 (patch) | |
tree | eba373a72f3644af48ce222d9046709584dd85e9 /config/cmake/HDFFortranCompilerFlags.cmake | |
parent | b84f48f929ec02b9a2fefa036c63656af2f4aa89 (diff) | |
download | hdf5-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/HDFFortranCompilerFlags.cmake')
-rw-r--r-- | config/cmake/HDFFortranCompilerFlags.cmake | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/config/cmake/HDFFortranCompilerFlags.cmake b/config/cmake/HDFFortranCompilerFlags.cmake index 2bbb35d..c7f085c 100644 --- a/config/cmake/HDFFortranCompilerFlags.cmake +++ b/config/cmake/HDFFortranCompilerFlags.cmake @@ -10,7 +10,9 @@ # help@hdfgroup.org. # -message (STATUS "Warnings Configuration: default Fortran: ${CMAKE_Fortran_FLAGS}") +if (CMAKE_VERSION VERSION_GREATER_EQUAL "3.15.0") + message (VERBOSE "Warnings Configuration: default Fortran: ${CMAKE_Fortran_FLAGS}") +endif () #----------------------------------------------------------------------------- # Option to allow the user to disable compiler warnings @@ -64,7 +66,9 @@ if (NOT MSVC AND NOT MINGW) elseif (CMAKE_Fortran_COMPILER_ID STREQUAL "PGI") list (APPEND HDF5_CMAKE_Fortran_FLAGS "-Mfreeform" "-Mdclchk" "-Mstandard" "-Mallocatable=03") endif () - message (STATUS "HDF5_CMAKE_Fortran_FLAGS=${HDF5_CMAKE_Fortran_FLAGS}") + if (CMAKE_VERSION VERSION_GREATER_EQUAL "3.15.0") + message (VERBOSE "HDF5_CMAKE_Fortran_FLAGS=${HDF5_CMAKE_Fortran_FLAGS}") + endif () if (CMAKE_Fortran_COMPILER_ID STREQUAL "GNU") |