1 Submodule lib/libappimage contains modified content
2 diff --git a/lib/libappimage/cmake/dependencies.cmake b/lib/libappimage/cmake/dependencies.cmake
3 index 8d96484..c7b17a1 100644
4 --- a/lib/libappimage/cmake/dependencies.cmake
5 +++ b/lib/libappimage/cmake/dependencies.cmake
6 @@ -91,9 +91,18 @@ if(NOT USE_SYSTEM_SQUASHFUSE)
7 INCLUDE_DIRS "<SOURCE_DIR>"
10 - message(STATUS "Using system squashfuse")
11 + message(STATUS "Using system squashfsfuse from ${SQUASHFUSE}")
13 - import_pkgconfig_target(TARGET_NAME libsquashfuse PKGCONFIG_TARGET squashfuse)
14 + add_library(libsquashfuse INTERFACE IMPORTED GLOBAL)
16 + set(squashfuse_INCLUDE_DIRS "${SQUASHFUSE}/include")
17 + set(squashfuse_LIBRARIES "${SQUASHFUSE}/lib/libsquashfuse.a;${SQUASHFUSE}/lib/libsquashfuse_ll.a;${SQUASHFUSE}/lib/libfuseprivate.a")
20 + TARGET libsquashfuse
21 + PROPERTY INTERFACE_LINK_LIBRARIES ${squashfuse_LIBRARIES}
23 + include_directories(${squashfuse_INCLUDE_DIRS})
27 diff --git a/src/appimagetool.c b/src/appimagetool.c
28 index 6b37419..23425e7 100644
29 --- a/src/appimagetool.c
30 +++ b/src/appimagetool.c
35 -#include "squashfuse.h"
36 +#include <squashfuse.h>
38 #include <sys/types.h>
40 @@ -96,7 +96,7 @@ static void die(const char *msg) {
43 /* Function that prints the contents of a squashfs file
44 -* using libsquashfuse (#include "squashfuse.h") */
45 +* using libsquashfuse (#include <squashfuse.h>) */
46 int sfs_ls(char* image) {
47 sqfs_err err = SQFS_OK;
49 diff --git a/src/appimagetoolnoglib.c b/src/appimagetoolnoglib.c
50 index f900e76..ffa87f8 100644
51 --- a/src/appimagetoolnoglib.c
52 +++ b/src/appimagetoolnoglib.c
57 -#include "squashfuse.h"
58 +#include <squashfuse.h>
60 #include <sys/types.h>
62 @@ -118,7 +118,7 @@ int is_regular_file(const char *path)
65 /* Function that prints the contents of a squashfs file
66 - * using libsquashfuse (#include "squashfuse.h") */
67 + * using libsquashfuse (#include <squashfuse.h>) */
68 int sfs_ls(char* image) {
69 sqfs_err err = SQFS_OK;
71 diff --git a/src/runtime.c b/src/runtime.c
72 index bada3af..70a642b 100644
79 -#include "squashfuse.h"
80 +#include <squashfuse.h>
81 #include <squashfs_fs.h>