We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9fe4be4 commit 3c53907Copy full SHA for 3c53907
Libraries/CMakeLists.txt
@@ -24,7 +24,10 @@ set(WEBP_BUILD_EXTRAS OFF CACHE BOOL "") # Disable all extra utilities
24
set(WEBP_ENABLE_LIBWEBPMUX OFF CACHE BOOL "") # no metadata muxing
25
set(WEBP_ENABLE_LIBWEBPDEMUX OFF CACHE BOOL "") # no metadata demuxing
26
add_subdirectory(libwebp) # for reading webp files
27
-
+if(MSVC)
28
+ target_compile_options(webpdecoder PUBLIC "/MT$<$<STREQUAL:$<CONFIGURATION>,Debug>:d>")
29
+ set_target_properties(webpdecoder PROPERTIES CMAKE_MSVC_RUNTIME_LIBRARY "MultiThreaded$<$<CONFIG:Debug>:Debug>$" )
30
+endif()
31
if(ENABLE_XZ)
32
_message(STATUS "Configuring liblzma")
33
add_subdirectory(xz) # for decompressing .tar.xz
0 commit comments