fix: ocv_target_link_libraries could not handle the keyword rightly #20430

pull/20437/head
Xiaoxiao Tian 3 years ago
parent 8334ee18e6
commit 3817f3a89b
  1. 2
      cmake/OpenCVUtils.cmake

@ -1488,8 +1488,8 @@ function(ocv_target_link_libraries target)
if(NOT LINK_PENDING STREQUAL "")
__ocv_push_target_link_libraries(${LINK_MODE} ${LINK_PENDING})
set(LINK_PENDING "")
set(LINK_MODE "${dep}")
endif()
set(LINK_MODE "${dep}")
else()
if(BUILD_opencv_world)
if(OPENCV_MODULE_${dep}_IS_PART_OF_WORLD)

Loading…
Cancel
Save