diff options
author | Fraser Cormack <fraser@codeplay.com> | 2024-04-08 15:46:03 +0100 |
---|---|---|
committer | Fraser Cormack <fraser@codeplay.com> | 2024-04-08 15:48:15 +0100 |
commit | f46f6465062bd6ddc96e3838c50e1a0f85f92dd4 (patch) | |
tree | d33b095e1f0ba70cabc208c1b2bffe0e047a6ecd | |
parent | 8ccf1c117b0dc08f7e9c24fe98f45ebe32e95cd1 (diff) |
[libclc] Fix spirv build dependencies
These were accidentally broken in 61efea7.
Thanks to @mgorny and @rjodinchr for spotting this.
-rw-r--r-- | libclc/CMakeLists.txt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libclc/CMakeLists.txt b/libclc/CMakeLists.txt index 8750a65a717f..770f69a15a30 100644 --- a/libclc/CMakeLists.txt +++ b/libclc/CMakeLists.txt @@ -332,7 +332,7 @@ foreach( t ${LIBCLC_TARGETS_TO_BUILD} ) if( ${ARCH} STREQUAL "spirv" OR ${ARCH} STREQUAL "spirv64" ) set( spv_suffix ${arch_suffix}.spv ) add_custom_command( OUTPUT "${spv_suffix}" - COMMAND ${LLVM_SPIRV} ${spvflags} -o "${spv_suffix}" ${builtins_opt_lib_tgt} + COMMAND ${LLVM_SPIRV} ${spvflags} -o "${spv_suffix}" ${builtins_link_lib_tgt} DEPENDS ${builtins_link_lib_tgt} ) add_custom_target( "prepare-${spv_suffix}" ALL DEPENDS "${spv_suffix}" ) install( FILES ${CMAKE_CURRENT_BINARY_DIR}/${spv_suffix} |