qpc/ports/risc-v/CMakeLists.txt
MMS 0150f5a22b 7.3.3
examples as submodule
cmake support
2024-02-20 13:38:00 -05:00

10 lines
289 B
CMake

# ports/threadx
string(TOLOWER ${CMAKE_C_COMPILER_ID} _compiler_)
if((KERNEL STREQUAL qv) AND (${_compiler_} STREQUAL gnu))
target_include_directories(qpc PUBLIC qv/gnu)
else()
message(FATAL_ERROR "Only the QV kernel in combination with the GNU compiler are supported!")
endif()