1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21
|
From: Boyuan Yang <byang@debian.org>
Date: Tue, 10 Mar 2026 12:14:09 -0400
Subject: Install ZXingOpenCV example tool
Bug-Debian: https://bugs.debian.org/993012
---
example/CMakeLists.txt | 1 +
1 file changed, 1 insertion(+)
diff --git a/example/CMakeLists.txt b/example/CMakeLists.txt
index 2782ef3..b3c7281 100644
--- a/example/CMakeLists.txt
+++ b/example/CMakeLists.txt
@@ -29,6 +29,7 @@ if (ZXING_READERS)
add_executable (ZXingOpenCV ZXingOpenCV.cpp)
target_include_directories (ZXingOpenCV PRIVATE ${OpenCV_INCLUDE_DIRS})
target_link_libraries (ZXingOpenCV ZXing::ZXing ${OpenCV_LIBS})
+ install(TARGETS ZXingOpenCV DESTINATION ${CMAKE_INSTALL_BINDIR})
else ()
message("INFO: OpenCV not found, skipping ZXingOpenCV example")
endif()
|