summaryrefslogtreecommitdiffhomepage
path: root/serialize
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2022-11-12 19:10:29 +0100
committerStanislaw Halik <sthalik@misaki.pl>2022-11-12 19:10:29 +0100
commit26886d1a0bc3bc19f1da706edb8640a89d5121da (patch)
treecf1e5acb13d7843b72bbf9161798c777e3ff23d6 /serialize
parent6b0741306964f3a5220acb2b375b09cf1814443b (diff)
serialize: add -EHc for msvc
Diffstat (limited to 'serialize')
-rw-r--r--serialize/CMakeLists.txt4
1 files changed, 4 insertions, 0 deletions
diff --git a/serialize/CMakeLists.txt b/serialize/CMakeLists.txt
index 65b63174..4f73f716 100644
--- a/serialize/CMakeLists.txt
+++ b/serialize/CMakeLists.txt
@@ -11,3 +11,7 @@ target_link_libraries(
if(FLOORMAT_PRECOMPILED-HEADERS)
target_precompile_headers(${self} PRIVATE precomp.hpp)
endif()
+
+if(MSVC)
+ add_compile_options(-EHsc)
+endif()