diff --git a/examples/CMakeLists.txt b/examples/CMakeLists.txt index 6b1d24e42..68ad89964 100644 --- a/examples/CMakeLists.txt +++ b/examples/CMakeLists.txt @@ -23,7 +23,9 @@ else() add_subdirectory(infill) add_subdirectory(llama-bench) add_subdirectory(llava) - add_subdirectory(sycl) + if (LLAMA_SYCL) + add_subdirectory(sycl) + endif() add_subdirectory(main) add_subdirectory(tokenize) add_subdirectory(parallel)