mirror of https://github.com/aseprite/aseprite.git
Try to compile libpng before libwebp
This commit is contained in:
parent
8ae2a8bce5
commit
93cb0d3b51
|
@ -36,6 +36,12 @@ endif()
|
||||||
if(WITH_WEBP_SUPPORT)
|
if(WITH_WEBP_SUPPORT)
|
||||||
set(WEBP_BUILD_EXTRAS OFF CACHE BOOL "Build extras.")
|
set(WEBP_BUILD_EXTRAS OFF CACHE BOOL "Build extras.")
|
||||||
add_subdirectory(libwebp)
|
add_subdirectory(libwebp)
|
||||||
|
|
||||||
|
if(NOT USE_SHARED_LIBPNG)
|
||||||
|
add_dependencies(webp ${PNG_LIBRARY})
|
||||||
|
add_dependencies(webpdemux ${PNG_LIBRARY})
|
||||||
|
add_dependencies(libwebpmux ${PNG_LIBRARY})
|
||||||
|
endif()
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
if(NOT USE_SHARED_TINYXML)
|
if(NOT USE_SHARED_TINYXML)
|
||||||
|
|
Loading…
Reference in New Issue