Marat Dukhan | f10168c | 2019-12-09 16:31:10 -0800 | [diff] [blame] | 1 | # Copyright 2019 Google LLC |
| 2 | # |
| 3 | # This source code is licensed under the BSD-style license found in the |
| 4 | # LICENSE file in the root directory of this source tree. |
| 5 | |
| 6 | set(CMAKE_SYSTEM_NAME Linux) |
| 7 | set(CMAKE_SYSTEM_PROCESSOR armv7) |
| 8 | |
| 9 | set(CMAKE_FIND_ROOT_PATH /usr/arm-linux-gnueabihf) |
| 10 | |
| 11 | set(CMAKE_C_COMPILER arm-linux-gnueabihf-gcc) |
| 12 | set(CMAKE_CXX_COMPILER arm-linux-gnueabihf-g++) |
| 13 | |
| 14 | set(CMAKE_FIND_ROOT_PATH_MODE_PROGRAM NEVER) |
| 15 | set(CMAKE_FIND_ROOT_PATH_MODE_LIBRARY ONLY) |
| 16 | set(CMAKE_FIND_ROOT_PATH_MODE_INCLUDE ONLY) |
| 17 | set(CMAKE_FIND_ROOT_PATH_MODE_PACKAGE ONLY) |
| 18 | |