[Bug 237388] net/kitinerary: Fails to link: libzxing.so: undefined reference to `cv::* (opencv symbols)
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Sat Apr 20 11:31:13 BST 2019
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=237388
--- Comment #6 from Martin Birgmeier <d8zNeCFG at aon.at> ---
Using the following patch I got it to work:
--- ./src/cli/CMakeLists.txt.ORIG 2019-04-08 13:52:31.000000000 +0200
+++ ./src/cli/CMakeLists.txt 2019-04-20 12:28:40.091467000 +0200
@@ -2,10 +2,12 @@
return()
endif()
+find_package( OpenCV REQUIRED )
add_executable(kitinerary-extractor main.cpp)
target_include_directories(kitinerary-extractor PRIVATE ${CMAKE_BINARY_DIR})
target_link_libraries(kitinerary-extractor
KPimItinerary
KPim::PkPass
+ ${OpenCV_LIBS}
)
install(TARGETS kitinerary-extractor DESTINATION ${KF5_LIBEXEC_INSTALL_DIR})
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the kde-freebsd
mailing list