Files
CMake/Tests/RunCMake/ToolchainFile/SetCrossCompiling-stderr.txt
Martin Storsjö 4d23636694 Warn if CMAKE_CROSSCOMPILING is true without CMAKE_SYSTEM_NAME set
Also clarify the `CMAKE_CROSSCOMPILING` documentation to state that
CMake sets the variable automatically.
2023-03-24 11:57:01 -04:00

9 lines
462 B
Plaintext

^CMake Warning \(dev\) at [^
]*/Modules/CMakeDetermineSystem.cmake:[0-9]+ \(message\):
CMAKE_CROSSCOMPILING has been set by the project, toolchain file, or user\.
CMake is resetting it to false because CMAKE_SYSTEM_NAME was not set\. To
indicate cross compilation, only CMAKE_SYSTEM_NAME needs to be set\.
Call Stack \(most recent call first\):
CMakeLists\.txt:[0-9]+ \(project\)
This warning is for project developers\. Use -Wno-dev to suppress it\.$