cmake: fix objdetect QR decoder link_libraries

pull/12888/head
Mansoo Kim 6 years ago committed by Alexander Alekhin
parent d8ffddd075
commit 6974fce183
  1. 2
      modules/objdetect/CMakeLists.txt

@ -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()

Loading…
Cancel
Save