File tree 1 file changed +3
-3
lines changed 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -55,7 +55,7 @@ if( LIBCLC_STANDALONE_BUILD OR CMAKE_SOURCE_DIR STREQUAL CMAKE_CURRENT_SOURCE_DI
55
55
# Import required tools
56
56
if ( NOT EXISTS ${LIBCLC_CUSTOM_LLVM_TOOLS_BINARY_DIR} )
57
57
foreach ( tool IN ITEMS clang llvm-as llvm-link opt )
58
- find_program ( LLVM_TOOL_${tool} ${tool} PATHS ${LLVM_TOOLS_BINARY_DIR} NO_DEFAULT_PATH )
58
+ find_program ( LLVM_TOOL_${tool} ${tool} PATHS ${LLVM_TOOLS_BINARY_DIR} )
59
59
set ( ${tool} _exe ${LLVM_TOOL_${tool} } )
60
60
set ( ${tool} _target )
61
61
endforeach ()
@@ -91,7 +91,7 @@ if( EXISTS ${LIBCLC_CUSTOM_LLVM_TOOLS_BINARY_DIR} )
91
91
# and custom tools.
92
92
foreach ( tool IN ITEMS clang llvm-as llvm-link opt )
93
93
find_program ( LLVM_CUSTOM_TOOL_${tool} ${tool}
94
- PATHS ${LIBCLC_CUSTOM_LLVM_TOOLS_BINARY_DIR} NO_DEFAULT_PATH )
94
+ PATHS ${LIBCLC_CUSTOM_LLVM_TOOLS_BINARY_DIR} )
95
95
set ( ${tool} _exe ${LLVM_CUSTOM_TOOL_${tool} } )
96
96
set ( ${tool} _target )
97
97
endforeach ()
@@ -108,7 +108,7 @@ endforeach()
108
108
if ( TARGET llvm-spirv )
109
109
get_host_tool_path( llvm-spirv LLVM_SPIRV llvm-spirv_exe llvm-spirv_target )
110
110
else ()
111
- find_program ( LLVM_SPIRV llvm-spirv PATHS ${LLVM_TOOLS_BINARY_DIR} NO_DEFAULT_PATH )
111
+ find_program ( LLVM_SPIRV llvm-spirv PATHS ${LLVM_TOOLS_BINARY_DIR} )
112
112
set ( llvm-spirv_exe "${LLVM_SPIRV} " )
113
113
set ( llvm-spirv_target )
114
114
endif ()
You can’t perform that action at this time.
0 commit comments