https://git.reactos.org/?p=reactos.git;a=commitdiff;h=8c475e47091bca075f3ef…
commit 8c475e47091bca075f3ef82062006563d0620860
Author: Eric Kohl <eric.kohl(a)reactos.org>
AuthorDate: Sat Apr 10 20:15:08 2021 +0200
Commit: Eric Kohl <eric.kohl(a)reactos.org>
CommitDate: Sat Apr 10 20:15:36 2021 +0200
[CMAKE] Build xboxvmp in Xbox-builds only
This prevents the creation of a fake Xbox GPU device on non-Xbox builds.
CORE-17529
---
win32ss/drivers/miniport/CMakeLists.txt | 6 ++----
1 file changed, 2 insertions(+), 4 deletions(-)
diff --git a/win32ss/drivers/miniport/CMakeLists.txt
b/win32ss/drivers/miniport/CMakeLists.txt
index 100182d8e66..5418581b554 100644
--- a/win32ss/drivers/miniport/CMakeLists.txt
+++ b/win32ss/drivers/miniport/CMakeLists.txt
@@ -2,13 +2,11 @@
if(SARCH STREQUAL "pc98")
# Actual binary filename is vga.sys
add_subdirectory(pc98vid)
+elseif(SARCH STREQUAL "xbox")
+ add_subdirectory(xboxvmp)
else()
add_subdirectory(vbe)
add_subdirectory(vga)
add_subdirectory(vga_new)
add_subdirectory(vmx_svga)
-
- if(ARCH STREQUAL "i386")
- add_subdirectory(xboxvmp)
- endif()
endif()