diff --git a/debian/patches/cross.patch b/debian/patches/cross.patch new file mode 100644 index 0000000..9208423 --- /dev/null +++ b/debian/patches/cross.patch @@ -0,0 +1,15 @@ +Author: Helmut Grohne +Description: do not stop the GUI from being cross-compiled +Bug-Debian: 941320 +Forwarded: yes +--- a/CMakeLists.txt ++++ b/CMakeLists.txt +@@ -39,7 +39,7 @@ + # Dependencies + ### + find_package(LibUSB REQUIRED) +-if (NOT APPLE AND NOT WIN32 AND NOT CMAKE_CROSSCOMPILING) ++if (NOT APPLE AND NOT WIN32) + find_package(PkgConfig) + pkg_check_modules(gtk gtk+-3.0) + endif () diff --git a/debian/patches/series b/debian/patches/series new file mode 100644 index 0000000..def274a --- /dev/null +++ b/debian/patches/series @@ -0,0 +1 @@ +cross.patch