mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-01-09 07:39:26 +01:00
Use cmake to determine if we are enabling the Android Controller Interface
This commit is contained in:
parent
018625e54f
commit
6305f09467
@ -31,6 +31,7 @@ elseif(X11_FOUND)
|
||||
endif()
|
||||
set(LIBS ${LIBS} ${X11_LIBRARIES} ${XINPUT2_LIBRARIES})
|
||||
elseif(ANDROID)
|
||||
add_definitions(-DCIFACE_USE_ANDROID)
|
||||
set(SRCS ${SRCS}
|
||||
ControllerInterface/Android/Android.cpp)
|
||||
endif()
|
||||
|
@ -29,9 +29,6 @@
|
||||
#if defined(__APPLE__)
|
||||
#define CIFACE_USE_OSX
|
||||
#endif
|
||||
#ifdef ANDROID
|
||||
#define CIFACE_USE_ANDROID
|
||||
#endif
|
||||
#if defined(HAVE_SDL) && HAVE_SDL
|
||||
#define CIFACE_USE_SDL
|
||||
#endif
|
||||
|
Loading…
x
Reference in New Issue
Block a user