summaryrefslogtreecommitdiffstats
path: root/CMakeLists.txt
diff options
context:
space:
mode:
authorAllen Byrne <byrn@hdfgroup.org>2013-06-13 13:22:43 (GMT)
committerAllen Byrne <byrn@hdfgroup.org>2013-06-13 13:22:43 (GMT)
commite35d1e08f310b82889f4db81de88d5553daff2c5 (patch)
treebddb2870bdffff8c8397be81b3b87bec87247c6a /CMakeLists.txt
parent93ec8e08211a31693b96616b996c55d59ce7e5c2 (diff)
downloadhdf5-e35d1e08f310b82889f4db81de88d5553daff2c5.zip
hdf5-e35d1e08f310b82889f4db81de88d5553daff2c5.tar.gz
hdf5-e35d1e08f310b82889f4db81de88d5553daff2c5.tar.bz2
[svn-r23763] Fix missing command
Tested: local linux
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r--CMakeLists.txt3
1 files changed, 1 insertions, 2 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index b342ea5..31269fc 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -510,7 +510,7 @@ IF (NOT MSVC)
SET (H5_CFLAGS3 "${H5_CFLAGS4} -Wsync-nand -Wframe-larger-than=16384 -Wpacked-bitfield-compat")
# Append more extra warning flags that only gcc 4.5+ know about
- H5_CFLAGS4 "${H5_CFLAGS4} -Wstrict-overflow=5 -Wjump-misses-init -Wunsuffixed-float-constants")
+ SET (H5_CFLAGS4 "${H5_CFLAGS4} -Wstrict-overflow=5 -Wjump-misses-init -Wunsuffixed-float-constants")
# Append more extra warning flags that only gcc 4.6+ know about
SET (H5_CFLAGS4 "${H5_CFLAGS5} -Wdouble-promotion -Wsuggest-attribute=const -Wtrampolines")
@@ -560,7 +560,6 @@ IF (HDF5_ENABLE_GROUPONE_WARNINGS)
STRING (REGEX REPLACE "(^| )([/-])W[0-9]( |$)" " " CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS}")
SET (CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} /W2")
ELSE (MSVC)
- #config/gnu-flags General setting
SET(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} ${H5_CFLAGS1}")
ENDIF (MSVC)
ENDIF (HDF5_ENABLE_GROUPONE_WARNINGS)