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 c2bd446 commit e75366cCopy full SHA for e75366c
sycl/CMakeLists.txt
@@ -384,7 +384,7 @@ if(OpenCL_INSTALL_KHRONOS_ICD_LOADER AND TARGET OpenCL-ICD)
384
endif()
385
386
# Build and install lld as part of the sycl-toolchain if available
387
-if(TARGET lld)
+if("lld" IN_LIST LLVM_ENABLE_PROJECTS)
388
add_dependencies(sycl-toolchain lld)
389
list(APPEND SYCL_TOOLCHAIN_DEPLOY_COMPONENTS lld)
390
0 commit comments