Fix EnsureGameHDD check

This commit is contained in:
rtm516 2026-03-12 15:00:06 +00:00
parent ff4e0f8095
commit 51cbf16047
No known key found for this signature in database
GPG key ID: 331715B8B007C67A

View file

@ -89,7 +89,7 @@ add_dependencies(Minecraft.Client CopyRedist)
set_property(TARGET CopyRedist PROPERTY FOLDER "Build")
# Make sure GameHDD exists on Windows
if(CMAKE_CONFIGURE_PRESET STREQUAL "windows64")
if(PLATFORM_NAME STREQUAL "Windows64")
add_custom_target(EnsureGameHDD ALL
COMMAND ${CMAKE_COMMAND}
-E make_directory "${CMAKE_CURRENT_BINARY_DIR}/$<CONFIG>/Windows64/GameHDD"