cmake: Disable SuperVU for non-Linux OS

Doesn't work on FreeBSD, would be annoying to port.
This commit is contained in:
Jonathan Li 2016-05-20 22:20:57 +01:00
parent bde5960581
commit d2e5c32c83
1 changed files with 5 additions and 0 deletions

View File

@ -201,6 +201,11 @@ if(${PCSX2_TARGET_ARCHITECTURES} MATCHES "i386")
endif()
endif()
# Don't bother porting SuperVU
if (NOT Linux)
set(DISABLE_SVU TRUE)
endif()
add_definitions(-D_ARCH_32=1 -D_M_X86=1 -D_M_X86_32=1)
set(_ARCH_32 1)
set(_M_X86 1)