diff options
author | Allen Byrne <byrn@hdfgroup.org> | 2018-01-30 22:30:17 (GMT) |
---|---|---|
committer | Allen Byrne <byrn@hdfgroup.org> | 2018-01-30 22:30:17 (GMT) |
commit | 16e649fa0deddf415bbfd900e868092e384db8a0 (patch) | |
tree | ff4e0d85066faa94d0492a1ff2051b2a0215366c /config/cmake/HDFCompilerFlags.cmake | |
parent | edb6fd0cf9170b0cd10ca47a858912022ac44c34 (diff) | |
download | hdf5-16e649fa0deddf415bbfd900e868092e384db8a0.zip hdf5-16e649fa0deddf415bbfd900e868092e384db8a0.tar.gz hdf5-16e649fa0deddf415bbfd900e868092e384db8a0.tar.bz2 |
HDFFV-10398 merge from develop improve CMake code
Diffstat (limited to 'config/cmake/HDFCompilerFlags.cmake')
-rw-r--r-- | config/cmake/HDFCompilerFlags.cmake | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/config/cmake/HDFCompilerFlags.cmake b/config/cmake/HDFCompilerFlags.cmake index a414cea..56277fa 100644 --- a/config/cmake/HDFCompilerFlags.cmake +++ b/config/cmake/HDFCompilerFlags.cmake @@ -49,9 +49,9 @@ if (HDF5_DISABLE_COMPILER_WARNINGS) if (MSVC) set (HDF5_WARNINGS_BLOCKED 1) string (REGEX REPLACE "(^| )([/-])W[0-9]( |$)" " " CMAKE_C_FLAGS "${CMAKE_C_FLAGS}") - set (CMAKE_C_FLAGS "${CMAKE_C_FLAGS} /w") + set (CMAKE_C_FLAGS "${CMAKE_C_FLAGS} /W0") string (REGEX REPLACE "(^| )([/-])W[0-9]( |$)" " " CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS}") - set (CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} /w") + set (CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} /W0") endif () if (WIN32) add_definitions (-D_CRT_SECURE_NO_WARNINGS) |