diff options
author | Stanislaw Halik <sthalik@misaki.pl> | 2022-11-12 19:10:29 +0100 |
---|---|---|
committer | Stanislaw Halik <sthalik@misaki.pl> | 2022-11-12 19:10:29 +0100 |
commit | 26886d1a0bc3bc19f1da706edb8640a89d5121da (patch) | |
tree | cf1e5acb13d7843b72bbf9161798c777e3ff23d6 /serialize | |
parent | 6b0741306964f3a5220acb2b375b09cf1814443b (diff) |
serialize: add -EHc for msvc
Diffstat (limited to 'serialize')
-rw-r--r-- | serialize/CMakeLists.txt | 4 |
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() |