diff options
author | Denis Ollier <larchunix@users.noreply.github.com> | 2018-04-21 18:44:54 +0300 |
---|---|---|
committer | larchunix <larchunix@users.noreply.github.com> | 2018-04-21 22:44:45 +0300 |
commit | 6c17a7b02d1587e9068294e3b1320d4c1d1d7846 (patch) | |
tree | 69fea9a00a550ea8045d2008f72abb4ffbe9109d /CMakeLists.txt | |
parent | 4106a6488b4b5f56312eab9a65d1ac3b903a6a9d (diff) |
cmake: don't silent unused-result warnings
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r-- | CMakeLists.txt | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index c21f42ee2..3d1e67c35 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -64,10 +64,6 @@ if(CMAKE_COMPILER_IS_GNUCC) if(WITH_SSE2) set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -msse2") endif() - CHECK_C_COMPILER_FLAG(-Wno-unused-result Wno-unused-result) - if(Wno-unused-result) - set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -Wno-unused-result") - endif() CHECK_C_COMPILER_FLAG(-Wno-unused-function Wno-unused-function) if(Wno-unused-function) set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -Wno-unused-function") |