From a926817c81a80842a52191a7358e9bb64ab3cf80 Mon Sep 17 00:00:00 2001 From: Stanislaw Halik Date: Sun, 22 Jul 2018 11:52:10 +0200 Subject: minor cleanups --- cmake/msvc.cmake | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'cmake/msvc.cmake') diff --git a/cmake/msvc.cmake b/cmake/msvc.cmake index 0aad2ac8..7cb139f0 100644 --- a/cmake/msvc.cmake +++ b/cmake/msvc.cmake @@ -35,8 +35,10 @@ if(CMAKE_PROJECT_NAME STREQUAL "opentrack") endif() endforeach() + # C4265: class has virtual functions, but destructor is not virtual set(warns 4265) - set(warns-noerr) + # C4005: macro redefinition + set(warns-noerr 4005) foreach(i ${warns-disable}) set(warns_ "${warns_} -wd${i}") -- cgit v1.2.3