From d7b108ee11053845610bf5155672ff609f84e8db Mon Sep 17 00:00:00 2001 From: lateralusX Date: Thu, 10 Oct 2019 18:50:30 +0200 Subject: Fix VS2019 warning causing build failure. --- CMakeLists.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/CMakeLists.txt b/CMakeLists.txt index 59f46808..eaa59401 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -88,6 +88,7 @@ elseif(MSVC) "C5027" # move assignment operator was implicitly defined as deleted "C5045" # compiler will insert Spectre mitigation for memory load # if /Qspectre switch specified + "C4668" # 'symbol' is not defined as a preprocessor macro, replacing with '0' for 'directives' ) set(MSVC_LEVEL4_WARNINGS_LIST # See https://connect.microsoft.com/VisualStudio/feedback/details/1217660/warning-c4265-when-using-functional-header -- cgit v1.2.3