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"