Skip to content

Commit ce5285a

Browse files
committed
Do not specify Vulkan components
1 parent 344bda5 commit ce5285a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

ggml/src/ggml-vulkan/CMakeLists.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
cmake_minimum_required(VERSION 3.19)
22
cmake_policy(SET CMP0114 NEW)
33

4-
find_package(Vulkan COMPONENTS glslc)
4+
find_package(Vulkan)
55

66
function(detect_host_compiler)
77
if (CMAKE_HOST_SYSTEM_NAME STREQUAL "Windows")
@@ -21,7 +21,7 @@ if (Vulkan_FOUND)
2121
set (GLSLC_PROGRAM ${Vulkan_GLSLC_EXECUTABLE})
2222
if (NOT GLSLC_PROGRAM)
2323
# When cross-compiling the glslc program needs to be runnable on
24-
# build-system architecture but the Vulkan SDK will be for the
24+
# the build-system architecture but the Vulkan SDK will be for the
2525
# target architecture.
2626

2727
find_program(GLSLC_PROGRAM glslc REQUIRED NO_CMAKE_FIND_ROOT_PATH)

0 commit comments

Comments
 (0)