blob: 87da5dd4357231b876029654ea71fcbbd85be643 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
diff -Naurp a/plugins/gdk-pixbuf/CMakeLists.txt b/plugins/gdk-pixbuf/CMakeLists.txt
--- a/plugins/gdk-pixbuf/CMakeLists.txt 2020-02-01 03:12:11.000000000 +0000
+++ b/plugins/gdk-pixbuf/CMakeLists.txt 2020-02-01 03:29:15.820761981 +0000
@@ -24,9 +24,9 @@ endif ()
add_library(pixbufloader-jxl SHARED pixbufloader-jxl.c c_interop.cc c_interop.h)
target_link_libraries(pixbufloader-jxl jpegxl-static PkgConfig::Gdk-Pixbuf)
-install(TARGETS pixbufloader-jxl LIBRARY DESTINATION /usr/lib/x86_64-linux-gnu/gdk-pixbuf-2.0/2.10.0/loaders)
+install(TARGETS pixbufloader-jxl LIBRARY DESTINATION /usr/lib/gdk-pixbuf-2.0/2.10.0/loaders)
-find_program(GDK_PIXBUF_QUERY_LOADERS_PROG gdk-pixbuf-query-loaders /usr/lib/x86_64-linux-gnu/gdk-pixbuf-2.0)
+find_program(GDK_PIXBUF_QUERY_LOADERS_PROG gdk-pixbuf-query-loaders /usr/lib/gdk-pixbuf-2.0)
if(NOT ${GDK_PIXBUF_QUERY_LOADERS_PROG} STREQUAL "GDK_PIXBUF_QUERY_LOADERS_PROG-NOTFOUND")
install(CODE "execute_process(COMMAND ${GDK_PIXBUF_QUERY_LOADERS_PROG} --update-cache)")
else()
|