v4l2rtspserver/raspberry.toolchain
2016-04-17 21:36:46 +00:00

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)