Update CMake/ConfigureCrossCompile.cmake
Co-authored-by: Ryan Curtin <ryan@ratml.org>
This commit is contained in:
co-authored by
Ryan Curtin
parent
6564c8ec97
commit
6fe628f49f
@@ -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()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user