当前位置:网站首页>Why am I warned that the 'CMAKE_ TOOLCHAIN_ FILE' variable is not used by the project?

Why am I warned that the 'CMAKE_ TOOLCHAIN_ FILE' variable is not used by the project?

2022-07-07 02:19:00 javail

problem :

When I build some third-party code, I am seeing the following warning from CMake: When I build some third-party code , I see from CMake The following warnings for :

CMake Warning:  Manually-specified variables were not used by the project:    CMAKE_TOOLCHAIN_FILE

What is causing this warning? What caused this warning ?I checked the configuration files, but could not find anywhere where this variable is defined. I checked the configuration file , But nowhere to define this variable .

Should I be concerned about this warning? Should I worry about this warning ?How can I fix it so that the warning goes away? How to fix it so that the warning disappears ?


Solution :

Reference resources : https://stackoom.com/en/question/zv6I
原网站

版权声明
本文为[javail]所创,转载请带上原文链接,感谢
https://yzsam.com/2022/02/202202130901040023.html