We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8383774 commit d94ff34Copy full SHA for d94ff34
CMakeLists.txt
@@ -208,7 +208,7 @@ link_directories(
208
209
set(OPENCL_CLANG_LINK_LIBS ${CMAKE_DL_LIBS})
210
211
-if(NOT LLVMSPIRVLib IN_LIST LLVM_AVAILABLE_LIBS)
+if(NOT LLVMSPIRVLib IN_LIST LLVM_AVAILABLE_LIBS OR (USE_PREBUILT_LLVM AND LLVM_LINK_LLVM_DYLIB))
212
# SPIRV-LLVM-Translator is not included into LLVM as a component.
213
# So, we need to list it here explicitly as an external library
214
list(APPEND OPENCL_CLANG_LINK_LIBS LLVMSPIRVLib)
0 commit comments