diff --git a/autobuild.xml b/autobuild.xml index 8ca38a4367f4a41e8c68b9d970a5115ef8eee42e..82785a5a7096ea6024b67f3b646ab3b08c512d08 100644 --- a/autobuild.xml +++ b/autobuild.xml @@ -1946,11 +1946,11 @@ <key>archive</key> <map> <key>hash</key> - <string>3de8bf840cde51ec061ae1c12e39b620</string> + <string>9a13d5b3d5a4a038175461defb801963</string> <key>hash_algorithm</key> <string>md5</string> <key>url</key> - <string>https://pkg.alchemyviewer.org/repository/autobuild-external/tmpanext/libwebp-1.1.0.200900053-windows-200900053.tar.bz2</string> + <string>https://pkg.alchemyviewer.org/repository/autobuild-external/libwebp/windows/libwebp-1.1.0.304-windows-304.tar.bz2</string> </map> <key>name</key> <string>windows</string> @@ -1960,18 +1960,18 @@ <key>archive</key> <map> <key>hash</key> - <string>0063c0a3053b222014b6bec37a1311d4</string> + <string>85c1623e1d7bdf36cc3c7eb937749ea7</string> <key>hash_algorithm</key> <string>md5</string> <key>url</key> - <string>https://pkg.alchemyviewer.org/repository/autobuild-external/tmpanext/libwebp-1.1.0.200900052-windows64-200900052.tar.bz2</string> + <string>https://pkg.alchemyviewer.org/repository/autobuild-external/libwebp/windows64/libwebp-1.1.0.304-windows64-304.tar.bz2</string> </map> <key>name</key> <string>windows64</string> </map> </map> <key>version</key> - <string>1.1.0.200900052</string> + <string>1.1.0.304</string> </map> <key>libxml2</key> <map> diff --git a/indra/cmake/00-Common.cmake b/indra/cmake/00-Common.cmake index 7ca35f86fd6b1608577ec6e8d7c26727b9dded0b..fad2a1b4c8a86a25141973e1a48ff40901ffcaca 100644 --- a/indra/cmake/00-Common.cmake +++ b/indra/cmake/00-Common.cmake @@ -179,6 +179,11 @@ if (WINDOWS) /DBOOST_CONFIG_SUPPRESS_OUTDATED_MESSAGE ) + # library linkage defines + add_definitions( + /DWEBP_DLL + ) + if("${CMAKE_CXX_COMPILER_ID}" MATCHES "Clang") add_definitions(-DBOOST_USE_WINDOWS_H) endif() diff --git a/indra/cmake/Copy3rdPartyLibs.cmake b/indra/cmake/Copy3rdPartyLibs.cmake index e6f168bc054119d7c438d4f74493d2618293f071..79d8d01e6d1f0c389adfc9a122f2e9f16ca49a25 100644 --- a/indra/cmake/Copy3rdPartyLibs.cmake +++ b/indra/cmake/Copy3rdPartyLibs.cmake @@ -62,6 +62,7 @@ if(WINDOWS) glod.dll libhunspell.dll epoxy-0.dll + libwebp.dll ) # Filenames are different for 32/64 bit BugSplat file and we don't diff --git a/indra/cmake/WebP.cmake b/indra/cmake/WebP.cmake index 6105b10d55c05daa823059bd9306a8c975ed01dd..3795cec31320c08e3365150595cd59f5022b16df 100644 --- a/indra/cmake/WebP.cmake +++ b/indra/cmake/WebP.cmake @@ -9,7 +9,10 @@ if (USESYSTEMLIBS) else (USESYSTEMLIBS) use_prebuilt_binary(libwebp) if (WINDOWS) - set(WEBP_LIBRARIES libwebp) + set(WEBP_LIBRARIES + debug libwebp_debug_dll + optimized libwebp_dll + ) set(WEBP_INCLUDE_DIRS ${LIBS_PREBUILT_DIR}/include/webp) elseif(DARWIN) set(WEBP_LIBRARIES webp) diff --git a/indra/newview/viewer_manifest.py b/indra/newview/viewer_manifest.py index 8754e11614af3511d0903b1a8b0b9c634cb51f74..868564adf00bc9731f01befa9d192d7412691dc8 100755 --- a/indra/newview/viewer_manifest.py +++ b/indra/newview/viewer_manifest.py @@ -529,6 +529,8 @@ def construct(self): # For OpenGL extensions self.path("epoxy-0.dll") + self.path("libwebp.dll") + # SLVoice executable with self.prefix(src=os.path.join(pkgdir, 'bin', 'release')): self.path("SLVoice.exe")