diff options
author | Shauren <shauren.trinity@gmail.com> | 2015-07-03 11:19:27 +0200 |
---|---|---|
committer | Shauren <shauren.trinity@gmail.com> | 2015-07-03 11:19:27 +0200 |
commit | c24787f6665b5ea2b696bdfa7134a19ab5a3c331 (patch) | |
tree | 9cf8555f7f2399b5a0b2f3d28e1410247fc1f2f9 /dep/CMakeLists.txt | |
parent | 58adb74717be6f64511a16ab1194ee29378b0327 (diff) |
Buildsystem: Fixed disabling compiler warnings in dep for clang/icc
Diffstat (limited to 'dep/CMakeLists.txt')
-rw-r--r-- | dep/CMakeLists.txt | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/dep/CMakeLists.txt b/dep/CMakeLists.txt index e5fc80154bc..66f7bbb3984 100644 --- a/dep/CMakeLists.txt +++ b/dep/CMakeLists.txt @@ -8,10 +8,10 @@ # WITHOUT ANY WARRANTY, to the extent permitted by law; without even the # implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. -if( CMAKE_COMPILER_IS_GNUCXX ) - add_definitions(--no-warnings) -elseif( MSVC ) +if( MSVC ) add_definitions(/W0) +else() + add_definitions(-w) endif() if(CMAKE_SYSTEM_NAME MATCHES "Linux") |