diff --git a/CMakeLists.txt b/CMakeLists.txt index b26fe066..1defa727 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -226,3 +226,8 @@ foreach (COMPILER_DEF IN LISTS ABADDON_COMPILER_DEFS) endforeach () set_property(TARGET abaddon PROPERTY INTERPROCEDURAL_OPTIMIZATION TRUE) + +# Workaround for https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108383 +if (WIN32) + target_compile_options(abaddon PRIVATE "-fno-declone-ctor-dtor") +endif ()