summaryrefslogtreecommitdiff
path: root/textproc/zxing-cpp/files/patch-CMakeLists.txt
diff options
context:
space:
mode:
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