Merge pull request #12888 from alalek:cmake_fix_objdetect

pull/12930/head
Alexander Alekhin 6 years ago
commit 8486f1b8f0
  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