[svn-r23763] Fix missing command

Tested: local linux
This commit is contained in:
Allen Byrne 2013-06-13 08:22:43 -05:00
parent 93ec8e0821
commit e35d1e08f3

View File

@ -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)