Skip to content

Commit

Permalink
fix build issue in termux
Browse files Browse the repository at this point in the history
  • Loading branch information
TianZerL committed May 17, 2024
1 parent b262a59 commit be17b37
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -330,7 +330,7 @@ if(NCNN_VULKAN)
target_link_libraries(ncnn PRIVATE glslang SPIRV)
endif()

if(NCNN_PLATFORM_API AND ANDROID_NDK)
if(NCNN_PLATFORM_API AND ANDROID)
target_link_libraries(ncnn PUBLIC android jnigraphics log)
endif()

Expand Down

0 comments on commit be17b37

Please sign in to comment.