diff --git a/external/CMakeLists.txt b/external/CMakeLists.txt index 736eec750..11da7685a 100644 --- a/external/CMakeLists.txt +++ b/external/CMakeLists.txt @@ -11,5 +11,11 @@ if(NOT WIN32) set(BUILD_SHARED_LIBS OFF) endif() +# There is a bug that makes rlottie hang forever on application shutdown if compiled using MinGW +# with threading support enabled. Disable it for MSVC as well to keep the behavior consistent. +if(WIN32) + option(LOTTIE_THREAD OFF) +endif() + option(LOTTIE_MODULE OFF) add_subdirectory("rlottie")