From 1dbfe1148963cac26fe18e9208a79ca2bb2d04a4 Mon Sep 17 00:00:00 2001 From: halogen Date: Wed, 4 Mar 2026 13:37:53 -0500 Subject: [PATCH] fix other stuff --- CMakeLists.txt | 2 +- COMPILE.md | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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: ```