ports/textproc/zxing-cpp/files/patch-CMakeLists.txt
Yuri Victorovich 7deba83622 textproc/zxing-cpp: Update 0.20161114 -> 0.20180320
Port changes:
* Switch to the static library
* Order USExx section
* It now depends on OpenCV
2018-07-09 08:05:30 +00:00

11 lines
337 B
Text

--- 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