mirror of
https://gitlab.kitware.com/cmake/cmake.git
synced 2026-10-07 04:02:23 +03:00
Help: Fix QNX cross-compile example toolchain file
`q++` is the correct name for C++ compiler. QNX does not support ARM32 anymore. Use `aarch64` instead.
This commit is contained in:
1 parent
c204231bd2
commit
50b53d1952
1 file changed
+2
-2
@@ -234,11 +234,11 @@ value to those supported compilers when compiling:
|
||||
|
||||
set(CMAKE_SYSTEM_NAME QNX)
|
||||
|
||||
set(arch gcc_ntoarmv7le)
|
||||
set(arch gcc_ntoaarch64)
|
||||
|
||||
set(CMAKE_C_COMPILER qcc)
|
||||
set(CMAKE_C_COMPILER_TARGET ${arch})
|
||||
set(CMAKE_CXX_COMPILER QCC)
|
||||
set(CMAKE_CXX_COMPILER q++)
|
||||
set(CMAKE_CXX_COMPILER_TARGET ${arch})
|
||||
|
||||
set(CMAKE_SYSROOT $ENV{QNX_TARGET})
|
||||
|
||||
Reference in new issue
Block a user