【解决】This is allowed only when policy CMP0079 is set to NEW.
清泛原创
cmake最低版本设置为3.13以上,可解决。
cmake_minimum_required(VERSION 3.13) can fix the first problem.
参考:https://gitlab.kitware.com/cmake/cmake/-/issues/19693
cmake_minimum_required(VERSION 3.13) can fix the first problem.
参考:https://gitlab.kitware.com/cmake/cmake/-/issues/19693
上一篇:【解决】Missing FindPython3.cmake
下一篇:Intel SMID指令集编译错误: inlining failed in call to always_inline 'xxx': target specific option mismatch xxx