diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index 4211d7a2..c2787a1d 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -60,7 +60,7 @@ if(ANDROID) if(ANDROID_NATIVE_API_LEVEL LESS 33) message(FATAL_ERROR "FastTokenizers require ANDROID_NATIVE_API_LEVEL to be higher than 33. Please, either disable FastTokenizers or set ANDROID_NATIVE_API_LEVEL / ANDROID_PLATFORM") endif() - elseif(X86_64) + elseif(X86_64 OR RISCV64) message(WARNING "FastTokenizers are not available on ${CMAKE_SYSTEM_NAME} ${CMAKE_SYSTEM_PROCESSOR}. ENABLE_FAST_TOKENIZERS is set to OFF") set(FAST_TOKENIZERS_SUPPORTED OFF) else()