From 98a775e0591ed26ecc8aeeafde17f0133660b649 Mon Sep 17 00:00:00 2001 From: Umberto Baldi Date: Tue, 8 Oct 2024 16:57:46 +0200 Subject: [PATCH] remove old patch, should not be required anymore --- ...ild-not-working-with-mingw-toolchain.patch | 22 ------------------- 1 file changed, 22 deletions(-) delete mode 100644 patches/0007-Cmake-fix-build-not-working-with-mingw-toolchain.patch diff --git a/patches/0007-Cmake-fix-build-not-working-with-mingw-toolchain.patch b/patches/0007-Cmake-fix-build-not-working-with-mingw-toolchain.patch deleted file mode 100644 index 7b6cba2..0000000 --- a/patches/0007-Cmake-fix-build-not-working-with-mingw-toolchain.patch +++ /dev/null @@ -1,22 +0,0 @@ -diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt -index c10a77eb..b7769c5b 100644 ---- a/src/CMakeLists.txt -+++ b/src/CMakeLists.txt -@@ -50,7 +50,7 @@ endif() - include_directories(BEFORE ${CMAKE_CURRENT_BINARY_DIR}) - add_compile_definitions(CONFIG_DIR=\"${CONFIG_DIR}\") - --if(WIN32) -+if(WIN32 OR MINGW) - set(EXTRA_WINDOWS_RESOURCES "${PROJECT_BINARY_DIR}/src/windows.rc") - set(EXTRA_WINDOWS_LIBRARIES setupapi hid ws2_32) - endif() -@@ -112,7 +112,7 @@ endif() - - configure_file(cmake_config.h.in ac_cfg.h) - configure_file(avrdude.spec.in avrdude.spec) --if(WIN32) -+if(WIN32 OR MINGW) - configure_file(windows.rc.in windows.rc) - endif() -