You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
8 lines
346 B
Plaintext
8 lines
346 B
Plaintext
SET(CMAKE_SYSTEM_NAME Linux)
|
|
SET(CMAKE_SYSTEM_PROCESSOR armhf)
|
|
SET(CMAKE_C_COMPILER arm-linux-gnueabihf-gcc)
|
|
SET(CMAKE_CXX_COMPILER arm-linux-gnueabihf-g++)
|
|
SET(CMAKE_FIND_ROOT_PATH ${PROJECT_SOURCE_DIR}/rootfs)
|
|
SET(CMAKE_FIND_ROOT_PATH_MODE_PROGRAM NEVER)
|
|
include_directories(SYSTEM ${PROJECT_SOURCE_DIR}/rootfs/usr/include/arm-linux-gnueabihf)
|