Skip to content

Commit

Permalink
Added compiler for .c files
Browse files Browse the repository at this point in the history
  • Loading branch information
simonmicro authored and ddemidov committed May 9, 2021
1 parent ea157db commit 97bd166
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,7 @@ vi CMakeLists.txt
Just after the `project(...)` declaration, set the C/C++ compilers by adding the following lines:

```cmake
set(CMAKE_C_COMPILER "arm-linux-gnueabi-gcc")
set(CMAKE_CC_COMPILER "arm-linux-gnueabi-gcc")
set(CMAKE_CXX_COMPILER "arm-linux-gnueabi-g++")
```
Expand Down

0 comments on commit 97bd166

Please sign in to comment.