We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 04aa5a6 commit 974a851Copy full SHA for 974a851
CMakeLists.txt
@@ -212,6 +212,9 @@ macro(xeus_cpp_set_common_options target_name)
212
if (MSVC)
213
target_compile_options(${target_name} PUBLIC /wd4251 /wd4141)
214
target_compile_options(${target_name} PUBLIC /wd4018 /wd4267 /wd4715 /wd4146 /wd4129)
215
+ target_compile_options(${target_name} PUBLIC /EHsc)
216
+ else ()
217
+ target_compile_options(${target_name} PUBLIC -fexceptions)
218
endif ()
219
220
if (CMAKE_CXX_COMPILER_ID MATCHES "Clang" OR
0 commit comments