summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAllen Byrne <byrn@hdfgroup.org>2013-06-25 18:48:49 (GMT)
committerAllen Byrne <byrn@hdfgroup.org>2013-06-25 18:48:49 (GMT)
commitcf5071ad059c3a443b23f7ea157cc2fc74fd6e43 (patch)
treec7722970b52daba905bb015c6fca4b5e414982da
parentdc2de300b4d5a8a36dad86ca086040c0da4c6051 (diff)
downloadhdf5-cf5071ad059c3a443b23f7ea157cc2fc74fd6e43.zip
hdf5-cf5071ad059c3a443b23f7ea157cc2fc74fd6e43.tar.gz
hdf5-cf5071ad059c3a443b23f7ea157cc2fc74fd6e43.tar.bz2
[svn-r23824] Remove unused warnings option
-rw-r--r--CMakeLists.txt12
1 files changed, 1 insertions, 11 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index bb2c7c8..eddb4e9 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -457,7 +457,7 @@ ENDIF (HDF5_DISABLE_COMPILER_WARNINGS)
#-----------------------------------------------------------------------------
# CDash is configured to only allow 3000 warnings, so
-# break into groups
+# break into groups (from the config/gnu-flags file)
#-----------------------------------------------------------------------------
IF (NOT MSVC)
# Append warning flags
@@ -605,16 +605,6 @@ IF (HDF5_ENABLE_GROUPFOUR_WARNINGS)
ENDIF (HDF5_ENABLE_GROUPFOUR_WARNINGS)
#-----------------------------------------------------------------------------
-# Option to allow the user to enable warnings by groups
-#-----------------------------------------------------------------------------
-OPTION (HDF5_ENABLE_GROUPFIVE_WARNINGS "Enable group five warnings" OFF)
-IF (HDF5_ENABLE_GROUPFIVE_WARNINGS)
- IF (NOT MSVC)
- SET(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} ${H5_CFLAGS5}")
- ENDIF (NOT MSVC)
-ENDIF (HDF5_ENABLE_GROUPFIVE_WARNINGS)
-
-#-----------------------------------------------------------------------------
# This is in here to help some of the GCC based IDES like Eclipse
# and code blocks parse the compiler errors and warnings better.
#-----------------------------------------------------------------------------