mirror of
https://github.com/fastfetch-cli/fastfetch.git
synced 2026-09-13 02:14:37 +02:00
Android: link to libandroid-wordexp if available
Ref: https://github.com/termux/termux-packages/tree/master/packages/libandroid-wordexp
This commit is contained in:
@@ -824,6 +824,13 @@ elseif(BSD)
|
||||
target_link_libraries(libfastfetch
|
||||
PRIVATE "usbhid"
|
||||
)
|
||||
elseif(ANDROID)
|
||||
CHECK_LIBRARY_EXISTS(android-wordexp wordexp "" HAVE_LIBANDROID_WORDEXP)
|
||||
if(HAVE_LIBANDROID_WORDEXP)
|
||||
target_link_libraries(libfastfetch
|
||||
PRIVATE android-wordexp
|
||||
)
|
||||
endif()
|
||||
endif()
|
||||
|
||||
target_include_directories(libfastfetch
|
||||
|
||||
Reference in New Issue
Block a user