diff options
author | Allen Byrne <byrn@hdfgroup.org> | 2018-01-30 18:46:23 (GMT) |
---|---|---|
committer | Allen Byrne <byrn@hdfgroup.org> | 2018-01-30 18:46:23 (GMT) |
commit | 6aee1578c39a58c073333bc62b2eb90f3aa4891e (patch) | |
tree | e1e98af156c1c5eb235f74103ca664d2ca499e73 /config/cmake/HDFCompilerFlags.cmake | |
parent | 98f8fd9603e085cf110df56192d657bc0dec164c (diff) | |
download | hdf5-6aee1578c39a58c073333bc62b2eb90f3aa4891e.zip hdf5-6aee1578c39a58c073333bc62b2eb90f3aa4891e.tar.gz hdf5-6aee1578c39a58c073333bc62b2eb90f3aa4891e.tar.bz2 |
HDFFV-10398 msvc: use /W0 rather than /w
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) |