blob: 69c4c367dfea865ee922bd9a09ab424efb47a13d (
plain)
1
2
3
4
5
6
7
8
9
10
11
|
set(CMAKE_SYSTEM_NAME Linux)
set(CMAKE_SYSTEM_PROCESSOR aarch32)
# Modify these variables with paths to appropriate compilers that can produce
# armv7 targets
# Specify the cross compiler
set(CMAKE_C_COMPILER arm-none-linux-gnueabi-gcc)
set(CMAKE_CXX_COMPILER arm-none-linux-gnueabi-g++)
set(CMAKE_C_COMPILER_AR arm-none-linux-gnueabi-ar)
set(CMAKE_CXX_COMPILER_AR arm-none-linux-gnueabi-ar)
|