我想根据工具链文件中设置的CMAKE_SYSTEM_PROCESSOR变量的值在顶级cmake文件中设置一个单独的变量。但是,当在顶级cmake文件中引用时,CMAKE_SYSTEM_PROCESSOR的值不具有来自工具链文件的值。project(ToolchainTest C)
message("CMAKE_SYSTEM_PROCESSOR ${CMAKE</
警告如下所示: Policy CMP0048 is notRun "cmake --help-policy CMP0048" for policy details.Use the cmake_policy
command to set the policy and suppress this warning.我不能控制这些CMakeLists.txt文件,我也不