Skip to content

Commit b33ac8f

Browse files
committed
Fix fxc path for non-Visual Studio builds
1 parent cba5508 commit b33ac8f

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

CMakeLists.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -258,6 +258,7 @@ if(NOT USE_PREBUILT_SHADERS)
258258
else()
259259
find_program(DIRECTX_FXC_TOOL FXC.EXE
260260
HINTS "C:/Program Files (x86)/Windows Kits/10/bin/${CMAKE_SYSTEM_VERSION}/${DIRECTX_HOST_ARCH}"
261+
"C:/Program Files (x86)/Windows Kits/10/bin/${CMAKE_SYSTEM_VERSION}.0/${DIRECTX_HOST_ARCH}"
261262
"C:/Program Files (x86)/Windows Kits/10/bin/${CMAKE_VS_WINDOWS_TARGET_PLATFORM_VERSION}/${DIRECTX_HOST_ARCH}")
262263
message(STATUS "Using LegacyShaderCompiler found in ${DIRECTX_FXC_TOOL}")
263264
endif()

0 commit comments

Comments
 (0)