set(CMAKE_SYSTEM_NAME Linux)
set(CMAKE_SYSTEM_VERSION 1)
set(CMAKE_SYSTEM_PROCESSOR armv7-a)

set(CMAKE_C_COMPILER armv7-unknown-linux-gnueabihf-gcc)
set(CMAKE_CXX_COMPILER armv7-unknown-linux-gnueabihf-g++)
set(CMAKE_AR armv7-unknown-linux-gnueabihf-gcc-ar)
set(CMAKE_STRIP armv7-unknown-linux-gnueabihf-gcc-strip)
set(CMAKE_RANLIB armv7-unknown-linux-gnueabihf-gcc-ranlib)

set(CMAKE_FIND_ROOT_PATH_MODE_PROGRAM NEVER)
set(CMAKE_FIND_ROOT_PATH_MODE_LIBRARY ONLY)
set(CMAKE_FIND_ROOT_PATH_MODE_INCLUDE ONLY)
