diff --git a/CMakeLists.txt b/CMakeLists.txt index bec60476b..82fdaca38 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -2,7 +2,7 @@ cmake_minimum_required(VERSION 3.24) project(MinecraftConsoles LANGUAGES C CXX RC) -if(NOT CMAKE_SIZEOF_VOID_P EQUAL 8 AND WIN32) # This check is broken on linux+clang-cl +if(NOT CMAKE_SIZEOF_VOID_P EQUAL 8 AND WIN32) # triggers when cross compiling on linux message(FATAL_ERROR "Use a 64-bit generator/toolchain (x64).") endif() diff --git a/COMPILE.md b/COMPILE.md index 6f82456db..d1a16ed1f 100644 --- a/COMPILE.md +++ b/COMPILE.md @@ -43,7 +43,7 @@ cd .\build\Debug MinecraftConsoles does not support Linux but can cross-compile a Windows build from Linux. -You will need a Windows MSVC SDK. You can get one from [msvc-wine](https://github.com/mstorsjo/msvc-wine). +You will need a Windows MSVC SDK. You can get one from [msvc-wine](https://github.com/mstorsjo/msvc-wine) or from a real Visual Studio installation. Configure: ```