cmake编译opencv出现报警,原因是cmake已经取消了这两项,可以看cmake文档:CMP0148 — CMake 4.0.0 Documentation
通过查看cmake报警,找到文件中的问题点,修改如下
参考:编译中的 CMP0148 警告_policy cmp0148 is not set: the findpythoninterp an-CSDN博客
cmake编译opencv出现报警,原因是cmake已经取消了这两项,可以看cmake文档:CMP0148 — CMake 4.0.0 Documentation
通过查看cmake报警,找到文件中的问题点,修改如下
参考:编译中的 CMP0148 警告_policy cmp0148 is not set: the findpythoninterp an-CSDN博客