Skip to content

Commit d236f8b

Browse files
Fix cmake lint
1 parent 7f4d900 commit d236f8b

1 file changed

Lines changed: 4 additions & 7 deletions

File tree

cmake/BuildWhispercpp.cmake

Lines changed: 4 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -242,10 +242,9 @@ else()
242242
set(WHISPER_CPP_HASH "dc00f91f5ddfb8271fa177b005022dc6ccc979ab669ee8e92008a7dc694295ad")
243243
list(APPEND WHISPER_RUNTIME_MODULES GGMLCUDA)
244244

245-
# Find CUDA libraries and link against them.
246-
# In sandboxed builds (e.g. Flatpak) CUDA is absent at compile time;
247-
# libggml-cuda.so from the prebuilt tarball resolves its own CUDA
248-
# dependencies at runtime via org.freedesktop.Platform.GL.nvidia.
245+
# Find CUDA libraries and link against them. In sandboxed builds (e.g. Flatpak) CUDA is absent at compile time;
246+
# libggml-cuda.so from the prebuilt tarball resolves its own CUDA dependencies at runtime via
247+
# org.freedesktop.Platform.GL.nvidia.
249248
if(NOT DEFINED CUDAToolkit_ROOT AND EXISTS /usr/local/cuda-12.8)
250249
set(CUDAToolkit_ROOT /usr/local/cuda-12.8/)
251250
endif()
@@ -260,9 +259,7 @@ else()
260259
CUDA::cuda_driver
261260
CUDA::OpenCL)
262261
else()
263-
message(
264-
STATUS
265-
"CUDAToolkit not found at build time – libggml-cuda.so will resolve CUDA at runtime")
262+
message(STATUS "CUDAToolkit not found at build time – libggml-cuda.so will resolve CUDA at runtime")
266263
endif()
267264
else()
268265
message(

0 commit comments

Comments
 (0)