Set CMAKE_MSVC_RUNTIME_LIBRARY for mozjpeg

The cherry-pick made in 9fd1f95ab8 broke mozjpeg's own WITH_CRT_DLL variable so we have to use the cmake one
This commit is contained in:
Ilya Fedin 2025-05-08 13:36:05 +04:00 committed by John Preston
parent 60d821ae3e
commit ce764c862f

View file

@ -586,6 +586,7 @@ stage('mozjpeg', """
win:
cmake . ^
-A %WIN32X64% ^
-DCMAKE_MSVC_RUNTIME_LIBRARY="MultiThreaded$<$<CONFIG:Debug>:Debug>" ^
-DWITH_JPEG8=ON ^
-DPNG_SUPPORTED=OFF
cmake --build . --config Debug --parallel