kopia lustrzana https://github.com/stlink-org/stlink
Apply cross.patch to fix cross-compiling the GUI.
Thanks Helmut for the patch! (Closes: #941320) Gbp-Dch: fullpull/986/head
rodzic
8a07f12769
commit
bc01701a8d
|
@ -0,0 +1,15 @@
|
||||||
|
Author: Helmut Grohne <helmut@subdivi.de>
|
||||||
|
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 ()
|
|
@ -0,0 +1 @@
|
||||||
|
cross.patch
|
Ładowanie…
Reference in New Issue