Change generated header file output location#23217
Change generated header file output location#23217opencv-pushbot merged 1 commit intoopencv:4.xfrom laitingsheng:4.x
Conversation
It is used for cvconfig.h only:
Going in this way would increase mess of misused variables. Purpose of these changes are unclear and it is not stated in PR's description. |
I don't think this is for As the variable name is indicating this is the directory for config file(s), I think I don't think this will increase any mess. It's more like making the config files generation more consistent and more flexible instead of having two potentially different locations. If this is not intending to be a configurable option, my suggestion would be changing it to a normal variable. The cache value will be shadowed by the normal variable with the same name and will probably result in CMake generation failure. Referencing #6098 as this is the proposed solution. |
Pull Request Readiness Checklist
See details at https://github.com/opencv/opencv/wiki/How_to_contribute#making-a-good-pull-request
Patch to opencv_extra has the same branch name.
OPENCV_CONFIG_FILE_INCLUDE_DIRis actually a configurable option, but the rules for some of the generated files are not following this. This PR is intending to fix this minor issue.