aboutsummaryrefslogtreecommitdiff
path: root/dep/CMakeLists.txt
diff options
context:
space:
mode:
authorShauren <shauren.trinity@gmail.com>2015-07-03 11:19:27 +0200
committerShauren <shauren.trinity@gmail.com>2015-07-03 11:19:27 +0200
commitc24787f6665b5ea2b696bdfa7134a19ab5a3c331 (patch)
tree9cf8555f7f2399b5a0b2f3d28e1410247fc1f2f9 /dep/CMakeLists.txt
parent58adb74717be6f64511a16ab1194ee29378b0327 (diff)
Buildsystem: Fixed disabling compiler warnings in dep for clang/icc
Diffstat (limited to 'dep/CMakeLists.txt')
-rw-r--r--dep/CMakeLists.txt6
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")