Skip to content

Commit 2e310c8

Browse files
committed
Use HINTS instead of PATHS
1 parent 2badb97 commit 2e310c8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

libclc/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,7 @@ endforeach()
114114
if( TARGET llvm-spirv )
115115
get_host_tool_path( llvm-spirv LLVM_SPIRV llvm-spirv_exe llvm-spirv_target )
116116
else()
117-
find_program( LLVM_SPIRV llvm-spirv PATHS ${LLVM_TOOLS_BINARY_DIR} )
117+
find_program( LLVM_SPIRV llvm-spirv HINTS ${LLVM_TOOLS_BINARY_DIR} )
118118
set( llvm-spirv_exe "${LLVM_SPIRV}" )
119119
set( llvm-spirv_target )
120120
endif()

0 commit comments

Comments
 (0)