Remove hidapi from android build
@@ -471,6 +471,7 @@ if(BUILD_SDL AND NOT EMSCRIPTEN AND NOT RPI)
if(ANDROID)
include_directories(${ANDROID_NDK}/sources/android/cpufeatures)
+ set(SDL_STATIC_PIC ON CACHE BOOL "" FORCE)
endif()
set(SDL_SHARED OFF CACHE BOOL "" FORCE)
@@ -981,7 +982,7 @@ if(BUILD_SDL)
add_library(tic80 SHARED ${TIC80_SRC})
- target_link_libraries(tic80 hidapi)
+ target_link_libraries(tic80)
else()
add_executable(tic80 ${TIC80_SRC})
