@@ -29,37 +29,6 @@ set(CPPFLAGS ${DEPENDENCIES_CPPFLAGS})
2929set (LDFLAGS ${DEPENDENCIES_LDFLAGS} )
3030
3131
32- set (USE_SYSTEM_INOTIFY_TOOLS OFF CACHE BOOL "Use system libinotifytools instead of building our own" )
33-
34- if (NOT USE_SYSTEM_INOTIFY_TOOLS)
35- message (STATUS "Downloading and building inotify-tools" )
36-
37- # TODO: build out of source
38- ExternalProject_Add(inotify-tools-EXTERNAL
39- URL https://github.com/downloads/rvoicilas/inotify-tools/inotify-tools-3.14.tar.gz
40- URL_HASH SHA512=6074d510e89bba5da0d7c4d86f2562c662868666ba0a7ea5d73e53c010a0050dd1fc01959b22cffdb9b8a35bd1b0b43c04d02d6f19927520f05889e8a9297dfb
41- PATCH_COMMAND ${WGET} -N --content -disposition "https://raw.githubusercontent.com/AppImage/external-resources/master/patches/config.guess"
42- COMMAND ${WGET} -N --content -disposition "https://raw.githubusercontent.com/AppImage/external-resources/master/patches/config.sub"
43- UPDATE_COMMAND "" # ${MAKE} sure CMake won't try to fetch updates unnecessarily and hence rebuild the dependency every time
44- CONFIGURE_COMMAND CC=${CC} CXX=${CXX} CFLAGS=${CFLAGS} LDFLAGS=${LDFLAGS} <SOURCE_DIR>/configure --enable-shared --enable-static --enable-doxygen=no --prefix =<INSTALL_DIR> --libdir=<INSTALL_DIR>/lib ${EXTRA_CONFIGURE_FLAGS}
45- BUILD_COMMAND ${MAKE}
46- BUILD_IN_SOURCE ON
47- INSTALL_COMMAND ${MAKE} install
48- )
49-
50- import_external_project(
51- TARGET_NAME inotify-tools
52- EXT_PROJECT_NAME inotify-tools-EXTERNAL
53- LIBRARIES "<INSTALL_DIR>/lib/libinotifytools.a"
54- INCLUDE_DIRS "<INSTALL_DIR>/include/"
55- )
56- else ()
57- message (STATUS "Using system inotify-tools" )
58-
59- import_find_pkg_target(inotify-tools INotify INOTIFYTOOLS)
60- endif ()
61-
62-
6332# TODO: allow using system wide mksquashfs
6433set (mksquashfs_cflags "-DXZ_SUPPORT ${CFLAGS} " )
6534
0 commit comments