fix(lab03): use right compiler on solution
This commit is contained in:
@@ -1,5 +1,4 @@
|
|||||||
cmake_minimum_required(VERSION 3.28)
|
cmake_minimum_required(VERSION 3.28)
|
||||||
project(ex7-app)
|
project(ex7-app)
|
||||||
|
|
||||||
include(../../nanopi.cmake)
|
|
||||||
add_executable(silly_led_control silly_led_control.c)
|
add_executable(silly_led_control silly_led_control.c)
|
||||||
@@ -7,7 +7,7 @@ all: build/build.ninja
|
|||||||
|
|
||||||
# Create build directory and generate build files if needed
|
# Create build directory and generate build files if needed
|
||||||
build/build.ninja : CMakeLists.txt
|
build/build.ninja : CMakeLists.txt
|
||||||
cmake -S . -B build -G "Ninja"
|
cmake -S . -B build -G "Ninja" -DCMAKE_TOOLCHAIN_FILE=../../nanopi.cmake
|
||||||
|
|
||||||
# Clean build directory
|
# Clean build directory
|
||||||
clean:
|
clean:
|
||||||
|
|||||||
Reference in New Issue
Block a user