summaryrefslogtreecommitdiffstats
path: root/cmake/LLVM.cmake
diff options
context:
space:
mode:
Diffstat (limited to 'cmake/LLVM.cmake')
-rw-r--r--cmake/LLVM.cmake13
1 files changed, 0 insertions, 13 deletions
diff --git a/cmake/LLVM.cmake b/cmake/LLVM.cmake
index a72cae0f5..d707d3605 100644
--- a/cmake/LLVM.cmake
+++ b/cmake/LLVM.cmake
@@ -111,16 +111,10 @@ function(fetch_or_build_slang_llvm)
if(SLANG_ENABLE_PREBUILT_BINARIES)
if(CMAKE_SYSTEM_NAME MATCHES "Windows")
- # DX Agility SDK requires the D3D12*.DLL files to be placed under a sub-directory, "D3D12".
- # https://devblogs.microsoft.com/directx/gettingstarted-dx12agility/#d3d12sdkpath-should-not-be-the-same-directory-as-the-application-exe
file(
GLOB prebuilt_binaries
"${slang_SOURCE_DIR}/external/slang-binaries/bin/windows-x64/*"
)
- file(
- GLOB prebuilt_d3d12_binaries
- "${slang_SOURCE_DIR}/external/slang-binaries/bin/windows-x64/[dD]3[dD]12*"
- )
list(REMOVE_ITEM prebuilt_binaries ${prebuilt_d3d12_binaries})
add_custom_target(
copy-prebuilt-binaries
@@ -131,13 +125,6 @@ function(fetch_or_build_slang_llvm)
COMMAND
${CMAKE_COMMAND} -E copy_if_different ${prebuilt_binaries}
${CMAKE_BINARY_DIR}/$<CONFIG>/${runtime_subdir}
- COMMAND
- ${CMAKE_COMMAND} -E make_directory
- ${CMAKE_BINARY_DIR}/$<CONFIG>/${runtime_subdir}/D3D12
- COMMAND
- ${CMAKE_COMMAND} -E copy_if_different
- ${prebuilt_d3d12_binaries}
- ${CMAKE_BINARY_DIR}/$<CONFIG>/${runtime_subdir}/D3D12
VERBATIM
)
set_target_properties(