Hi
This is the LConfig.cmake
include(CMakeFindDependencyMacro)
foreach(lib IN ITEMS OpenCV;OtherDependencies)
find_dependency(${lib} REQUIRED)
endforeach()
# include the generated target file
include("${CMAKE_CURRENT_LIST_DIR}/LTargets.cmake")
L and A use find_package(OpenCV REQUIRED) and wrap it into OpenCV::OpenCV as described above
is it not the proper way to go?
(by the way in this thread proper way to wrap an imported target around a third-party target - #8 by adaldev, I described several generic use cases for which I failed to find a clear and correct procedure).
thanks