diff options
author | Kevin Wojniak <kainjow@kainjow.com> | 2015-08-10 10:06:14 -0700 |
---|---|---|
committer | Kevin Wojniak <kainjow@kainjow.com> | 2015-08-10 10:06:14 -0700 |
commit | 722bc5df7e7bde6ec865b991e500aca04c931ad5 (patch) | |
tree | 24b01e07e7b5921fb415011e3db41e5aad669b34 /src/CMakeLists.txt | |
parent | 59bcd222c3ef1a64045e27db24ffddeb99ee29d4 (diff) |
Remove need to disable MSVC warning 4244
Diffstat (limited to 'src/CMakeLists.txt')
-rw-r--r-- | src/CMakeLists.txt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index ecdd016..0f04351 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -155,7 +155,7 @@ if(MSVC) else() set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} /W4") endif() - set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} /wd4127 /wd4244 /wd4267 /wd4706 /D_CRT_SECURE_NO_WARNINGS") + set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} /wd4127 /wd4267 /wd4706 /D_CRT_SECURE_NO_WARNINGS") elseif(CMAKE_COMPILER_IS_GNUCC OR "${CMAKE_CXX_COMPILER_ID}" STREQUAL "Clang") set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -Wall -Wextra -std=c99 -pedantic") endif() |