summaryrefslogtreecommitdiffstats
path: root/config/cmake
diff options
context:
space:
mode:
authorAllen Byrne <byrn@hdfgroup.org>2020-03-23 21:57:15 (GMT)
committerAllen Byrne <byrn@hdfgroup.org>2020-03-23 21:57:15 (GMT)
commit19c47b244b2fb4ca5247d727580de3ac651855a5 (patch)
tree7b5c09891bb4d2e4e37c1a642f0b7e0a99d4005f /config/cmake
parentd9a5a49e654399c99fe6356340da62e47f6878e2 (diff)
downloadhdf5-19c47b244b2fb4ca5247d727580de3ac651855a5.zip
hdf5-19c47b244b2fb4ca5247d727580de3ac651855a5.tar.gz
hdf5-19c47b244b2fb4ca5247d727580de3ac651855a5.tar.bz2
Correct syntax
Diffstat (limited to 'config/cmake')
-rw-r--r--config/cmake/HDFCompilerFlags.cmake4
1 files changed, 2 insertions, 2 deletions
diff --git a/config/cmake/HDFCompilerFlags.cmake b/config/cmake/HDFCompilerFlags.cmake
index 127b710..31ba748 100644
--- a/config/cmake/HDFCompilerFlags.cmake
+++ b/config/cmake/HDFCompilerFlags.cmake
@@ -171,13 +171,13 @@ if (NOT MSVC AND CMAKE_COMPILER_IS_GNUCC)
if (CMAKE_C_COMPILER_VERSION VERSION_LESS 5.0)
ADD_H5_FLAGS (CMAKE_C_FLAGS_4_LAST "${HDF5_SOURCE_DIR}/config/gnu-warnings/4.2-4.last")
set (H5_CFLAGS1 "${H5_CFLAGS1} ${CMAKE_C_FLAGS_4_LAST}")
- endif
+ endif ()
# Append more extra warning flags that only gcc 4.4+ know about
if (NOT CMAKE_C_COMPILER_VERSION VERSION_LESS 4.4)
ADD_H5_FLAGS (CMAKE_C_FLAGS_4_4 "${HDF5_SOURCE_DIR}/config/gnu-warnings/4.4")
set (H5_CFLAGS1 "${H5_CFLAGS1} ${CMAKE_C_FLAGS_4_4}")
- endif
+ endif ()
endif ()
# Append more extra warning flags that only gcc 4.5+ know about