cmake: fix objdetect QR decoder link_libraries

This commit is contained in:
Mansoo Kim 2018-10-21 15:13:43 +00:00 committed by Alexander Alekhin
parent d8ffddd075
commit 6974fce183

View File

@ -4,5 +4,5 @@ ocv_define_module(objdetect opencv_core opencv_imgproc opencv_calib3d WRAP java
if(HAVE_QUIRC)
get_property(QUIRC_INCLUDE GLOBAL PROPERTY QUIRC_INCLUDE_DIR)
ocv_include_directories(${QUIRC_INCLUDE})
ocv_target_link_libraries(${PROJECT_NAME} quirc)
ocv_target_link_libraries(${the_module} quirc)
endif()