summaryrefslogtreecommitdiff
path: root/textproc/zxing-cpp/files/patch-CMakeLists.txt
diff options
context:
space:
mode:
authorYuri Victorovich <yuri@FreeBSD.org>2018-07-09 08:05:30 +0000
committerYuri Victorovich <yuri@FreeBSD.org>2018-07-09 08:05:30 +0000
commit7deba836222d6ff7573557ecc52cb33919cf57a3 (patch)
treeeee0dc7a05ef481ed07246f4777e628391511d96 /textproc/zxing-cpp/files/patch-CMakeLists.txt
parent- Update to 0.47 (diff)
textproc/zxing-cpp: Update 0.20161114 -> 0.20180320
Port changes: * Switch to the static library * Order USExx section * It now depends on OpenCV
Notes
Notes: svn path=/head/; revision=474236
Diffstat (limited to 'textproc/zxing-cpp/files/patch-CMakeLists.txt')
-rw-r--r--textproc/zxing-cpp/files/patch-CMakeLists.txt11
1 files changed, 11 insertions, 0 deletions
diff --git a/textproc/zxing-cpp/files/patch-CMakeLists.txt b/textproc/zxing-cpp/files/patch-CMakeLists.txt
new file mode 100644
index 000000000000..251a61278629
--- /dev/null
+++ b/textproc/zxing-cpp/files/patch-CMakeLists.txt
@@ -0,0 +1,11 @@
+--- CMakeLists.txt.orig 2018-07-09 07:47:42 UTC
++++ CMakeLists.txt
+@@ -83,7 +83,7 @@ file(GLOB_RECURSE ZXING_FILES
+ )
+
+ add_executable(zxing ${ZXING_FILES})
+-target_link_libraries(zxing libzxing)
++target_link_libraries(zxing libzxing ${OpenCV_LIBRARIES})
+
+ install(TARGETS zxing libzxing EXPORT zxing-targets
+ LIBRARY DESTINATION lib