summaryrefslogtreecommitdiff
path: root/thirdparty/libbacktrace/CMakeLists.txt
diff options
context:
space:
mode:
Diffstat (limited to 'thirdparty/libbacktrace/CMakeLists.txt')
-rw-r--r--thirdparty/libbacktrace/CMakeLists.txt2
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 ()