From 8c475e47091bca075f3ef82062006563d0620860 Mon Sep 17 00:00:00 2001 From: Eric Kohl Date: Sat, 10 Apr 2021 20:15:08 +0200 Subject: [PATCH] [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()