From 97bd1667a8e19fa5f9f659ccca0edf35d376587d Mon Sep 17 00:00:00 2001 From: Simonmicro Date: Sun, 9 May 2021 17:31:28 +0200 Subject: [PATCH] Added compiler for .c files --- README.md | 1 + 1 file changed, 1 insertion(+) diff --git a/README.md b/README.md index e73d406..16b2362 100644 --- a/README.md +++ b/README.md @@ -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++") ```