Skip to content

Commit 2fffaff

Browse files
committed
specify exception model on windows
1 parent 6bdae09 commit 2fffaff

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

cmake/modules/clang.cmake

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
if(WIN32)
2+
tfel_enable_cxx_compiler_flag(VISIBILITY_FLAGS "EHsc")
3+
endif(WIN32)
4+
15
tfel_enable_cxx_compiler_flag(COMPILER_WARNINGS "Weverything")
26
tfel_enable_cxx_compiler_flag(COMPILER_WARNINGS "Wno-padded")
37
tfel_enable_cxx_compiler_flag(COMPILER_WARNINGS "Wno-documentation")

0 commit comments

Comments
 (0)