set(CMAKE_SYSTEM_NAME Linux) set(CROSS_PATH "/usr/lib/arm-linux-gnueabihf") set(CMAKE_C_COMPILER "arm-linux-gnueabihf-gcc")