Merge pull request #12888 from alalek:cmake_fix_objdetect

This commit is contained in:
Alexander Alekhin 2018-10-24 16:22:26 +00:00
commit 8486f1b8f0

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