mirror of
https://github.com/RetroDECK/ES-DE.git
synced 2024-11-29 09:35:39 +00:00
Disabled threading for rlottie as it causes performance degradations.
This commit is contained in:
parent
d45c690586
commit
0c31124cd2
10
external/CMakeLists.txt
vendored
10
external/CMakeLists.txt
vendored
|
@ -11,12 +11,10 @@ if(NOT WIN32)
|
||||||
set(BUILD_SHARED_LIBS OFF)
|
set(BUILD_SHARED_LIBS OFF)
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
# There is a bug that makes rlottie hang forever on application shutdown if compiled using MinGW
|
# Disabled threading support for rlottie as this functionality actually leads to far worse
|
||||||
# with threading support enabled. Disable it for MSVC as well to keep the behavior consistent
|
# performance. As well there is a bug on Windows that makes rlottie hang forever on application
|
||||||
# across builds with either of these compilers.
|
# shutdown if compiled using MinGW with threading support enabled.
|
||||||
if(WIN32)
|
option(LOTTIE_THREAD OFF)
|
||||||
option(LOTTIE_THREAD OFF)
|
|
||||||
endif()
|
|
||||||
|
|
||||||
option(LOTTIE_MODULE OFF)
|
option(LOTTIE_MODULE OFF)
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue