Skip to content
Snippets Groups Projects
Commit 8b474f70 authored by Rye Mutt's avatar Rye Mutt :bread:
Browse files

Webp as dll

parent c144073d
No related branches found
No related tags found
No related merge requests found
...@@ -1946,11 +1946,11 @@ ...@@ -1946,11 +1946,11 @@
<key>archive</key> <key>archive</key>
<map> <map>
<key>hash</key> <key>hash</key>
<string>3de8bf840cde51ec061ae1c12e39b620</string> <string>9a13d5b3d5a4a038175461defb801963</string>
<key>hash_algorithm</key> <key>hash_algorithm</key>
<string>md5</string> <string>md5</string>
<key>url</key> <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> </map>
<key>name</key> <key>name</key>
<string>windows</string> <string>windows</string>
...@@ -1960,18 +1960,18 @@ ...@@ -1960,18 +1960,18 @@
<key>archive</key> <key>archive</key>
<map> <map>
<key>hash</key> <key>hash</key>
<string>0063c0a3053b222014b6bec37a1311d4</string> <string>85c1623e1d7bdf36cc3c7eb937749ea7</string>
<key>hash_algorithm</key> <key>hash_algorithm</key>
<string>md5</string> <string>md5</string>
<key>url</key> <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> </map>
<key>name</key> <key>name</key>
<string>windows64</string> <string>windows64</string>
</map> </map>
</map> </map>
<key>version</key> <key>version</key>
<string>1.1.0.200900052</string> <string>1.1.0.304</string>
</map> </map>
<key>libxml2</key> <key>libxml2</key>
<map> <map>
......
...@@ -179,6 +179,11 @@ if (WINDOWS) ...@@ -179,6 +179,11 @@ if (WINDOWS)
/DBOOST_CONFIG_SUPPRESS_OUTDATED_MESSAGE /DBOOST_CONFIG_SUPPRESS_OUTDATED_MESSAGE
) )
# library linkage defines
add_definitions(
/DWEBP_DLL
)
if("${CMAKE_CXX_COMPILER_ID}" MATCHES "Clang") if("${CMAKE_CXX_COMPILER_ID}" MATCHES "Clang")
add_definitions(-DBOOST_USE_WINDOWS_H) add_definitions(-DBOOST_USE_WINDOWS_H)
endif() endif()
......
...@@ -62,6 +62,7 @@ if(WINDOWS) ...@@ -62,6 +62,7 @@ if(WINDOWS)
glod.dll glod.dll
libhunspell.dll libhunspell.dll
epoxy-0.dll epoxy-0.dll
libwebp.dll
) )
# Filenames are different for 32/64 bit BugSplat file and we don't # Filenames are different for 32/64 bit BugSplat file and we don't
......
...@@ -9,7 +9,10 @@ if (USESYSTEMLIBS) ...@@ -9,7 +9,10 @@ if (USESYSTEMLIBS)
else (USESYSTEMLIBS) else (USESYSTEMLIBS)
use_prebuilt_binary(libwebp) use_prebuilt_binary(libwebp)
if (WINDOWS) 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) set(WEBP_INCLUDE_DIRS ${LIBS_PREBUILT_DIR}/include/webp)
elseif(DARWIN) elseif(DARWIN)
set(WEBP_LIBRARIES webp) set(WEBP_LIBRARIES webp)
......
...@@ -529,6 +529,8 @@ def construct(self): ...@@ -529,6 +529,8 @@ def construct(self):
# For OpenGL extensions # For OpenGL extensions
self.path("epoxy-0.dll") self.path("epoxy-0.dll")
self.path("libwebp.dll")
# SLVoice executable # SLVoice executable
with self.prefix(src=os.path.join(pkgdir, 'bin', 'release')): with self.prefix(src=os.path.join(pkgdir, 'bin', 'release')):
self.path("SLVoice.exe") self.path("SLVoice.exe")
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment