[CMAKE] Build xboxvmp in Xbox-builds only

This prevents the creation of a fake Xbox GPU device on non-Xbox builds.

CORE-17529
This commit is contained in:
Eric Kohl 2021-04-10 20:15:08 +02:00
parent 2ae526a039
commit 8c475e4709

View file

@ -2,13 +2,11 @@
if(SARCH STREQUAL "pc98") if(SARCH STREQUAL "pc98")
# Actual binary filename is vga.sys # Actual binary filename is vga.sys
add_subdirectory(pc98vid) add_subdirectory(pc98vid)
elseif(SARCH STREQUAL "xbox")
add_subdirectory(xboxvmp)
else() else()
add_subdirectory(vbe) add_subdirectory(vbe)
add_subdirectory(vga) add_subdirectory(vga)
add_subdirectory(vga_new) add_subdirectory(vga_new)
add_subdirectory(vmx_svga) add_subdirectory(vmx_svga)
if(ARCH STREQUAL "i386")
add_subdirectory(xboxvmp)
endif()
endif() endif()