From 8366609fc1b7493861db11b236ad4b2b9b5cdb2a 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 d4f0720ffe..33e640f2c6 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -199,6 +199,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)