summaryrefslogtreecommitdiffstats
path: root/src/libqrencode-1-fixes.patch
blob: 087aa29af330a975e4609d4e751d0f6d9b17bc7a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
This file is part of MXE. See LICENSE.md for licensing information.

Contains ad hoc patches for cross building.

From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
From: Tony Theodore <tonyt@logyst.com>
Date: Tue, 31 Oct 2017 16:56:24 +1100
Subject: [PATCH 1/1] install *.dll to bin

taken from:
https://github.com/fukuchi/libqrencode/issues/112

diff --git a/CMakeLists.txt b/CMakeLists.txt
index 1111111..2222222 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -120,7 +120,8 @@ configure_file(libqrencode.pc.in libqrencode.pc @ONLY)
 install(FILES ${CMAKE_CURRENT_BINARY_DIR}/qrencode.1 DESTINATION share/man/man1)
 install(FILES ${CMAKE_CURRENT_BINARY_DIR}/libqrencode.pc DESTINATION lib/pkgconfig)
 install(FILES qrencode.h DESTINATION include)
-install(TARGETS qrencode DESTINATION lib)
+install(TARGETS qrencode DESTINATION lib
+                 RUNTIME DESTINATION bin)
 
 ## Build utility tools
 if(WITH_TOOLS AND TARGET PNG::PNG)