mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-07-28 13:16:41 +00:00
Merge pull request #4263 from stefansaraev/cmake-arch
cmake: set CMAKE_SYSTEM_PROCESSOR in toolchain file
This commit is contained in:
commit
ce0b6dd0b4
@ -51,6 +51,9 @@ SET(CMAKE_SYSTEM_NAME Linux)
|
|||||||
#this one not so much
|
#this one not so much
|
||||||
SET(CMAKE_SYSTEM_VERSION 1)
|
SET(CMAKE_SYSTEM_VERSION 1)
|
||||||
|
|
||||||
|
# processor (or hardware) of the target system
|
||||||
|
SET(CMAKE_SYSTEM_PROCESSOR $TARGET_ARCH)
|
||||||
|
|
||||||
# specify the cross compiler
|
# specify the cross compiler
|
||||||
SET(CMAKE_C_COMPILER $TARGET_CC)
|
SET(CMAKE_C_COMPILER $TARGET_CC)
|
||||||
SET(CMAKE_CXX_COMPILER $TARGET_CXX)
|
SET(CMAKE_CXX_COMPILER $TARGET_CXX)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user