forked from Embedded_Projects/CH32V307_Template
5 lines
217 B
CMake
5 lines
217 B
CMake
|
set(CMAKE_SYSTEM_NAME Generic)
|
||
|
set(CMAKE_C_COMPILER riscv64-unknown-elf-gcc)
|
||
|
set(CMAKE_CXX_COMPILER riscv64-unknown-elf-g++)
|
||
|
# Make CMake happy about those compilers
|
||
|
set(CMAKE_TRY_COMPILE_TARGET_TYPE "STATIC_LIBRARY")
|