summaryrefslogtreecommitdiffhomepage
path: root/cmake
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2019-05-02 18:26:01 +0200
committerStanislaw Halik <sthalik@misaki.pl>2019-05-02 18:26:01 +0200
commit02b80d8686fe393a3c69d4080873090e72b5cce5 (patch)
tree67c3fe548f0a6c91a09ad70978ed83f5540ae0bf /cmake
parent7eab970bfad0e31b4e915110bc79267067e32376 (diff)
cmake: kill exception support for MSVC
Issue: #940
Diffstat (limited to 'cmake')
-rw-r--r--cmake/opentrack-platform.cmake1
1 files changed, 1 insertions, 0 deletions
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)