mirror of
https://github.com/QuantumLeaps/qpc.git
synced 2025-01-28 07:03:10 +08:00
10 lines
289 B
CMake
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()
|
||
|
|