include(CMakePrintHelpers)
cmake_print_properties(TARGETS "opencv_world" PROPERTIES
IMPORTED_CONFIGURATIONS
IMPORTED_IMPLIB_<CONFIG>
IMPORTED_IMPLIB_RELEASE
)
Is there special command to replace with the result of IMPORTED_CONFIGURATIONS
According to the result of opencv_world.IMPORTED_CONFIGURATIONS to define the config of IMPORTED_IMPLIB_<CONFIG>