Project

General

Profile

opencv downloads third party software during compilation

nona - 11 days ago -

This is a warning. OpenCV 4.5.3 now downloads https://github.com/opencv/ade/ without asking for it, and without an option to prevent it.

The `init.cmake' file in the `modules/gapi/cmake' directory shows

if(NOT TARGET ade)
  # if ade_DIR is not set, try to use automatically
  # downloaded one (if there any)
  include("${CMAKE_CURRENT_LIST_DIR}/DownloadADE.cmake")
endif()

May be, ADE is a pre-requisite, but I don't think that the compilation process should be in charge of downloading an extension. This should be left to the prepare function. The new version of the program is still not available on Parabola's repository, but this may help to prevent undesired consequences.

If needed, I can create a bug out of this.