From b35f83bdcffa2906f2be48f4814b766f39595b68 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Joshua=20Vanda=C3=ABle?= Date: Thu, 26 Feb 2026 00:02:02 +0100 Subject: [PATCH] CMake: Error out if trying to build generic builds on Windows Generic builds have never been supported on Windows. --- CMakeLists.txt | 3 +++ 1 file changed, 3 insertions(+) diff --git a/CMakeLists.txt b/CMakeLists.txt index 581071aef3..3d6f01659b 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -194,6 +194,9 @@ else() endif() if(ENABLE_GENERIC) + if(WIN32) + message(FATAL_ERROR "Generic builds are not supported on Windows!") + endif() message(STATUS "Warning! Building generic build!") set(_M_GENERIC 1) add_definitions(-D_M_GENERIC=1)