Commit 9998ebf
committed
cmake: fix native build on arm
uname -m on 32bit Arm platforms (little endian) report a machine string
like armv5tejl, armv7l or armv8l.
A native build on these machines fail:
CMake Error at lib/processor/CMakeLists.txt:1 (add_subdirectory):
add_subdirectory given source "armv8l" which is not an existing directory.
Set PROJECT_PROCESSOR to arm on these machines.
Signed-off-by: Benedikt Spranger <[email protected]>1 parent ddd72ec commit 9998ebf
1 file changed
+5
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
49 | 49 | | |
50 | 50 | | |
51 | 51 | | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
52 | 57 | | |
53 | 58 | | |
54 | 59 | | |
| |||
0 commit comments