From a20e90139ef27b35a7cc968674692ea40fef1c47 Mon Sep 17 00:00:00 2001
From: Miodrag Milanovic <mmicko@gmail.com>
Date: Thu, 5 Jul 2018 13:49:40 +0200
Subject: disable few warnings for msvc

---
 3rdparty/QtPropertyBrowser/src/CMakeLists.txt | 4 ++++
 1 file changed, 4 insertions(+)

(limited to '3rdparty')

diff --git a/3rdparty/QtPropertyBrowser/src/CMakeLists.txt b/3rdparty/QtPropertyBrowser/src/CMakeLists.txt
index a312a10d..9d02d58d 100644
--- a/3rdparty/QtPropertyBrowser/src/CMakeLists.txt
+++ b/3rdparty/QtPropertyBrowser/src/CMakeLists.txt
@@ -34,4 +34,8 @@ add_library(${TARGET_NAME} STATIC
   ${_QRC_SRCS}
   )
 
+if (MSVC)
+  target_compile_options(${TARGET_NAME} PRIVATE /wd4457 /wd4718)
+endif()
+
 target_link_libraries(${TARGET_NAME} Qt5::Widgets)
-- 
cgit v1.2.3