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 aba6dad commit 6e2743eCopy full SHA for 6e2743e
CMakeLists.txt
@@ -34,7 +34,9 @@ if(MSVC)
34
# VS 2022 17.10 or newer, but using an older runtime, mutexes can crash
35
add_compile_options(/D_DISABLE_CONSTEXPR_MUTEX_CONSTRUCTOR)
36
else()
37
- add_compile_options(-Wall -Wextra -pedantic -Wno-psabi)
+ add_compile_options(-Wall -Wextra -pedantic -Wno-psabi -fexceptions)
38
+
39
+ add_link_options(-fexceptions)
40
endif()
41
42
if(CMAKE_VERSION VERSION_LESS 3.18)
0 commit comments