From 99aa9cd9df012e8087dd3cc914319458ed7c758a Mon Sep 17 00:00:00 2001 From: Siarhei Fedartsou Date: Fri, 24 May 2024 15:31:37 +0200 Subject: [PATCH] wip --- CMakeLists.txt | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/CMakeLists.txt b/CMakeLists.txt index f507f1804..3f57a3052 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -323,6 +323,10 @@ if (MSVC) add_definitions(-DBOOST_ALL_NO_LIB) endif() +if (MSVC) + add_compile_options(/Zc:__cplusplus) +endif() + if(ENABLE_CONAN) message(STATUS "Installing dependencies via Conan")