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 4a1c53f commit b439140Copy full SHA for b439140
libclc/CMakeLists.txt
@@ -332,7 +332,7 @@ foreach( t ${LIBCLC_TARGETS_TO_BUILD} )
332
if( ${ARCH} STREQUAL "spirv" OR ${ARCH} STREQUAL "spirv64" )
333
set( spv_suffix ${arch_suffix}.spv )
334
add_custom_command( OUTPUT "${spv_suffix}"
335
- COMMAND ${LLVM_SPIRV} ${spvflags} -o "${spv_suffix}" ${builtins_link_lib_tgt}
+ COMMAND ${LLVM_SPIRV} ${spvflags} -o "${spv_suffix}" $<TARGET_FILE:${builtins_link_lib_tgt}>
336
DEPENDS ${builtins_link_lib_tgt} )
337
add_custom_target( "prepare-${spv_suffix}" ALL DEPENDS "${spv_suffix}" )
338
install( FILES ${CMAKE_CURRENT_BINARY_DIR}/${spv_suffix}
0 commit comments