aboutsummaryrefslogtreecommitdiff
path: root/ports/libqrencode/fix-found-wingetopt.patch
diff options
context:
space:
mode:
authorStanislav Ershov <digital.stream.of.mind@gmail.com>2019-09-11 23:16:11 +0300
committerGriffin Downs <35574547+grdowns@users.noreply.github.com>2019-09-11 13:16:11 -0700
commit947e0c6a07e578eb861340b9e4a3a76bdf31239b (patch)
tree03aefefc4aa91f3c9788355b18e8772a579eb129 /ports/libqrencode/fix-found-wingetopt.patch
parentde9bb1d2027b478fea5686d798022c4d698d9e36 (diff)
downloadvcpkg-947e0c6a07e578eb861340b9e4a3a76bdf31239b.tar.gz
vcpkg-947e0c6a07e578eb861340b9e4a3a76bdf31239b.zip
[libqrencode] Remove unnessesary patch, it's in upstream now (#8099)
[libqrencode] Add feature to build qrencode tool
Diffstat (limited to 'ports/libqrencode/fix-found-wingetopt.patch')
-rw-r--r--ports/libqrencode/fix-found-wingetopt.patch13
1 files changed, 13 insertions, 0 deletions
diff --git a/ports/libqrencode/fix-found-wingetopt.patch b/ports/libqrencode/fix-found-wingetopt.patch
new file mode 100644
index 000000000..4c28f1cf3
--- /dev/null
+++ b/ports/libqrencode/fix-found-wingetopt.patch
@@ -0,0 +1,13 @@
+diff --git a/CMakeLists.txt b/CMakeLists.txt
+index 3a85c41..92dadca 100644
+--- a/CMakeLists.txt
++++ b/CMakeLists.txt
+@@ -73,7 +73,7 @@ if(MSVC)
+
+ if(WITH_TOOLS)
+ find_path(GETOPT_INCLUDE_DIR getopt.h PATH_SUFFIXES include)
+- find_library(GETOPT_LIBRARIES wingetopt PATH_SUFFIXES lib)
++ find_library(GETOPT_LIBRARIES getopt PATH_SUFFIXES lib)
+ include_directories(${GETOPT_INCLUDE_DIR})
+ endif(WITH_TOOLS)
+ endif(MSVC)