-
Notifications
You must be signed in to change notification settings - Fork 6.7k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[libqrencode] Remove unnessesary patch, it's in upstream now (#8099)
[libqrencode] Add feature to build qrencode tool
- Loading branch information
1 parent
de9bb1d
commit 947e0c6
Showing
4 changed files
with
40 additions
and
19 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,9 @@ | ||
Source: libqrencode | ||
Version: 4.0.2 | ||
Version: 4.0.2-1 | ||
Build-Depends: libpng, libiconv | ||
Homepage: https://github.com/fukuchi/libqrencode | ||
Description: libqrencode - a fast and compact QR Code encoding library | ||
|
||
Feature: tool | ||
Description: Build qrencode tool | ||
Build-Depends: getopt (windows) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.