diff options
author | Jose Fonseca <jfonseca@vmware.com> | 2015-03-08 20:48:32 +0000 |
---|---|---|
committer | Jose Fonseca <jfonseca@vmware.com> | 2015-03-08 20:48:32 +0000 |
commit | 052098268248193f8cb6f6eb9aaf7fab04620efc (patch) | |
tree | 47d3dfa0b9169aa9e9abac5bb2ce7087e06dc9ca /thirdparty/libbacktrace | |
parent | be3b78ded8557a7dd7c700a8d7499893e8d25e43 (diff) |
cmake: Pass GNU -Wno-foo flags to Clang too.
Diffstat (limited to 'thirdparty/libbacktrace')
-rw-r--r-- | thirdparty/libbacktrace/CMakeLists.txt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/thirdparty/libbacktrace/CMakeLists.txt b/thirdparty/libbacktrace/CMakeLists.txt index fed008e2..5f9c0b02 100644 --- a/thirdparty/libbacktrace/CMakeLists.txt +++ b/thirdparty/libbacktrace/CMakeLists.txt @@ -54,7 +54,7 @@ if (FLAG_UNWIND_TABLES) endif () # Adjust warnings -if (CMAKE_COMPILER_IS_GNUCC) +if (NOT MSVC) add_definitions ("-Wno-switch -Wno-enum-compare") endif () |