correct
absolutely
however, imho you’re safe to ignore this issue.
to enable nonfree code, the flag has to be set at build time of the libraries
the purpose ofopencv_modules.hpp
is to look up available modules,
when you build your own program (it’s machine generated)
toggling the flag there will have no effect at all.