summaryrefslogtreecommitdiff
path: root/CMakeLists.txt
diff options
context:
space:
mode:
authorJoshua Vandaƫle <joshua@vandaele.software>2026-02-26 00:02:02 +0100
committerJoshua Vandaƫle <joshua@vandaele.software>2026-07-24 03:45:13 +0200
commit8366609fc1b7493861db11b236ad4b2b9b5cdb2a (patch)
tree3c0b9e934e5e97bd730849294f510e4bc051ca56 /CMakeLists.txt
parent808a82d5dd7addfef9728a2ccc2f7ea713dfa748 (diff)
CMake: Error out if trying to build generic builds on Windows
Generic builds have never been supported on Windows.
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r--CMakeLists.txt3
1 files changed, 3 insertions, 0 deletions
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)