Commit a57d1d18 authored by Gilles Caulier's avatar Gilles Caulier 🗼
Browse files

Add libjxl compilation flag under widowns to prevent crash with AVX2 acceleration.

CCBUGS: 436533
parent de8e399e
......@@ -12,6 +12,16 @@ set(JpegXL_Conf -DBUILD_SHARED_LIBS=ON
-DBUILD_TESTING=OFF
)
if(MINGW)
# See bug comment https://bugs.kde.org/show_bug.cgi?id=436533#c26
set(JpegXL_Conf ${JpegXL_Conf}
-DCMAKE_CXX_FLAGS="-DHWY_COMPILE_ONLY_SCALAR"
)
endif()
JoinListAsString("${JpegXL_Conf}" " " BASH_OPTIONS)
if(MINGW)
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment