diff options
author | Stanislaw Halik <sthalik@misaki.pl> | 2018-07-22 11:52:10 +0200 |
---|---|---|
committer | Stanislaw Halik <sthalik@misaki.pl> | 2018-07-24 00:43:04 +0200 |
commit | a926817c81a80842a52191a7358e9bb64ab3cf80 (patch) | |
tree | 198ff643997d08e59138fdcd5110a201ac1351d6 /cmake | |
parent | b0d763d032a122bbf0465fa37a2eaaff3fd3a916 (diff) |
minor cleanups
Diffstat (limited to 'cmake')
-rw-r--r-- | cmake/msvc.cmake | 4 |
1 files changed, 3 insertions, 1 deletions
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}") |