From 819db499bb4a4cd344637c067b94bf5e6fa2c1f4 Mon Sep 17 00:00:00 2001 From: Yu Date: Mon, 18 Jan 2021 21:11:01 +0800 Subject: [PATCH] Fix compile error when use msvc 2019 --- CMakeLists.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/CMakeLists.txt b/CMakeLists.txt index b3a02386..6b52b48e 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -45,6 +45,7 @@ if(MSVC) /wd4800 /wd4068 # Disable unknown pragma warning /std:c++17 + /Zc:__cplusplus $<$:/FS> ) # relink system libs