Ignore JNI driver files for Android Hydra core

This commit is contained in:
wheremyfoodat 2023-12-26 20:29:07 +02:00
parent 5341ee8f1e
commit d28ead1438
2 changed files with 4 additions and 2 deletions

View file

@ -388,9 +388,10 @@ if(ENABLE_VULKAN)
set(ALL_SOURCES ${ALL_SOURCES} ${RENDERER_VK_SOURCE_FILES})
endif()
if(ANDROID)
if(ANDROID AND NOT BUILD_HYDRA_CORE)
set(HEADER_FILES ${HEADER_FILES} include/jni_driver.hpp)
set(ALL_SOURCES ${ALL_SOURCES} src/jni_driver.cpp)
target_compile_definitions(Alber PRIVATE PANDA3DS_FRONTEND_PANDROID=1)
endif()
if(BUILD_HYDRA_CORE)