Skip to content

Commit

Permalink
[NFC] [DirectX backend] copy dxil-dis as exe file on windows
Browse files Browse the repository at this point in the history
Without .exe in the name on windows, the test not work.

Differential Revision: https://reviews.llvm.org/D139765
  • Loading branch information
python3kgae committed Dec 14, 2022
1 parent e43e0ff commit 4eaccea
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion llvm/tools/dxil-dis/CMakeLists.txt
Expand Up @@ -17,7 +17,7 @@ endif ()

if (DXIL_DIS)
add_custom_target(dxil-dis
COMMAND ${CMAKE_COMMAND} -E ${LLVM_LINK_OR_COPY} "${DXIL_DIS}" "${LLVM_RUNTIME_OUTPUT_INTDIR}/dxil-dis")
COMMAND ${CMAKE_COMMAND} -E ${LLVM_LINK_OR_COPY} "${DXIL_DIS}" "${LLVM_RUNTIME_OUTPUT_INTDIR}/dxil-dis${CMAKE_EXECUTABLE_SUFFIX}")
return()
endif ()

Expand Down

0 comments on commit 4eaccea

Please sign in to comment.