From 51cbf16047986e039bd5a9b4f4d0ec9be651a816 Mon Sep 17 00:00:00 2001 From: rtm516 Date: Thu, 12 Mar 2026 15:00:06 +0000 Subject: [PATCH] Fix EnsureGameHDD check --- Minecraft.Client/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Minecraft.Client/CMakeLists.txt b/Minecraft.Client/CMakeLists.txt index 709ff2a71..b99117138 100644 --- a/Minecraft.Client/CMakeLists.txt +++ b/Minecraft.Client/CMakeLists.txt @@ -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}/$/Windows64/GameHDD"