From 02b80d8686fe393a3c69d4080873090e72b5cce5 Mon Sep 17 00:00:00 2001 From: Stanislaw Halik Date: Thu, 2 May 2019 18:26:01 +0200 Subject: cmake: kill exception support for MSVC Issue: #940 --- cmake/opentrack-platform.cmake | 1 + 1 file changed, 1 insertion(+) diff --git a/cmake/opentrack-platform.cmake b/cmake/opentrack-platform.cmake index e2a292dc..28d52962 100644 --- a/cmake/opentrack-platform.cmake +++ b/cmake/opentrack-platform.cmake @@ -126,6 +126,7 @@ if(MSVC) add_definitions(-D_CRT_SECURE_CPP_OVERLOAD_STANDARD_NAMES=1) add_definitions(-D_SCL_SECURE_NO_WARNINGS) + add_compile_options(-EHs-c-) add_definitions(-D_HAS_EXCEPTIONS=0) add_definitions(-D_ENABLE_EXTENDED_ALIGNED_STORAGE) -- cgit v1.2.3