Hopefully fix Android libretro compilation

This commit is contained in:
wheremyfoodat 2025-07-31 15:42:53 +03:00 committed by GitHub
commit 613aeabd02
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -201,7 +201,10 @@ target_include_directories(boost SYSTEM INTERFACE ${Boost_INCLUDE_DIR})
if(ANDROID)
set(CRYPTOPP_OPT_DISABLE_ASM ON CACHE BOOL "" FORCE)
target_sources(AlberCore PRIVATE src/jni_driver.cpp)
if(NOT BUILD_LIBRETRO_CORE)
target_sources(AlberCore PRIVATE src/jni_driver.cpp)
endif()
target_link_libraries(AlberCore PRIVATE EGL log)
endif()