mirror of
https://github.com/archr-linux/Arch-R.git
synced 2026-03-31 14:41:55 -07:00
cmake: set CMAKE_SYSTEM_PROCESSOR in toolchain file
This commit is contained in:
@@ -51,6 +51,9 @@ SET(CMAKE_SYSTEM_NAME Linux)
|
||||
#this one not so much
|
||||
SET(CMAKE_SYSTEM_VERSION 1)
|
||||
|
||||
# processor (or hardware) of the target system
|
||||
SET(CMAKE_SYSTEM_PROCESSOR $TARGET_ARCH)
|
||||
|
||||
# specify the cross compiler
|
||||
SET(CMAKE_C_COMPILER $TARGET_CC)
|
||||
SET(CMAKE_CXX_COMPILER $TARGET_CXX)
|
||||
|
||||
Reference in New Issue
Block a user