From 6551c9bc24df5a425f0bb34379c046d8f6dacbfd 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 b6ad46c66a..35021d9ca8 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -198,6 +198,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)