Skip to content

Commit 299af1f

Browse files
committed
update patch 0007
1 parent bbb90f9 commit 299af1f

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

patches/0007-Cmake-fix-build-not-working-with-mingw-toolchain.patch

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt
2-
index ca6cb64..2ccf4af 100644
2+
index c10a77eb..b7769c5b 100644
33
--- a/src/CMakeLists.txt
44
+++ b/src/CMakeLists.txt
55
@@ -50,7 +50,7 @@ endif()
@@ -9,9 +9,9 @@ index ca6cb64..2ccf4af 100644
99
-if(WIN32)
1010
+if(WIN32 OR MINGW)
1111
set(EXTRA_WINDOWS_RESOURCES "${PROJECT_BINARY_DIR}/src/windows.rc")
12-
set(EXTRA_WINDOWS_LIBRARIES setupapi ws2_32)
12+
set(EXTRA_WINDOWS_LIBRARIES setupapi hid ws2_32)
1313
endif()
14-
@@ -108,7 +108,7 @@ endif()
14+
@@ -112,7 +112,7 @@ endif()
1515

1616
configure_file(cmake_config.h.in ac_cfg.h)
1717
configure_file(avrdude.spec.in avrdude.spec)

0 commit comments

Comments
 (0)