blob: 86951549780eb77b7a6e0a35e7d5cb9534e53c87 [file] [log] [blame] [edit]
--- libavif-0.8.0/contrib/gdk-pixbuf/CMakeLists.txt.orig 2020-07-14 21:50:45.000000000 +0200
+++ libavif-0.8.0/contrib/gdk-pixbuf/CMakeLists.txt 2020-07-19 19:42:18.291269000 +0200
@@ -17,7 +17,7 @@
target_link_libraries(pixbufloader-avif PUBLIC ${GDK_PIXBUF_LIBRARIES} avif)
target_include_directories(pixbufloader-avif PUBLIC ${GDK_PIXBUF_INCLUDE_DIRS})
- pkg_get_variable(GDK_PIXBUF_MODULEDIR gdk-pixbuf-2.0 gdk_pixbuf_moduledir)
+ set(GDK_PIXBUF_MODULEDIR "${CMAKE_INSTALL_PREFIX}/lib/gdk-pixbuf-2.0/2.10.0/loaders")
install(TARGETS pixbufloader-avif DESTINATION ${GDK_PIXBUF_MODULEDIR})
else()
message(WARNING "gdk-pixbuf loader: disabled due to missing gdk-pixbuf-2.0")