Update CMake/ConfigureCrossCompile.cmake

Co-authored-by: Ryan Curtin <ryan@ratml.org>
This commit is contained in:
Omar Shrit
2021-05-06 00:29:14 +02:00
committed by GitHub
co-authored by Ryan Curtin
parent 6564c8ec97
commit 6fe628f49f
+1 -1
View File
@@ -14,7 +14,7 @@ if (CMAKE_CROSSCOMPILING)
elseif(NOT CMAKE_SYSROOT)
message(FATAL_ERROR "Can not proceed CMAKE_SYSROOT is not set")
elseif(NOT TOOLCHAIN_PREFIX)
message(FATAL_ERROR "Cant not proceed TOOLCHAIN_PREFIX is not set")
message(FATAL_ERROR "Cannot configure: TOOLCHAIN_PREFIX must be set when performing cross-compiling!")
endif()
endif()