CMake: Error out if trying to build generic builds on Windows

Generic builds have never been supported on Windows.
This commit is contained in:
Joshua Vandaële
2026-02-26 00:02:02 +01:00
parent 808a82d5dd
commit 8366609fc1
+3
View File
@@ -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)