mirror of https://github.com/PCSX2/pcsx2.git
spu2x: linux compilation fix
This commit is contained in:
parent
fbffa507b8
commit
3f17898bf5
|
@ -14,7 +14,15 @@ endif()
|
||||||
|
|
||||||
# plugin name
|
# plugin name
|
||||||
set(Output spu2x-2.0.0)
|
set(Output spu2x-2.0.0)
|
||||||
set(spu2xFinalFlags "")
|
if (Linux)
|
||||||
|
if (SDL2_API)
|
||||||
|
set(spu2xFinalFlags "-DSPU2X_SDL2")
|
||||||
|
else()
|
||||||
|
set(spu2xFinalFlags "-DSPU2X_SDL")
|
||||||
|
endif()
|
||||||
|
else()
|
||||||
|
set(spu2xFinalFlags "")
|
||||||
|
endif()
|
||||||
|
|
||||||
# spu2x sources
|
# spu2x sources
|
||||||
set(spu2xSources
|
set(spu2xSources
|
||||||
|
|
|
@ -20,7 +20,7 @@
|
||||||
#include "Dma.h"
|
#include "Dma.h"
|
||||||
#include "Dialogs.h"
|
#include "Dialogs.h"
|
||||||
|
|
||||||
#ifdef __POSIX__
|
#ifdef __APPLE__
|
||||||
#include "PS2Eext.h"
|
#include "PS2Eext.h"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue