diff -uNr a/bench/CMakeLists.txt b/bench/CMakeLists.txt
--- a/bench/CMakeLists.txt
+++ b/bench/CMakeLists.txt
@@ -4,12 +4,12 @@
 
 # targets
 add_executable(bench ${SOURCES})
-if(UNIX AND NOT APPLE AND NOT HAIKU)
+if(UNIX AND NOT APPLE AND NOT HAIKU AND NOT ANDROID)
   # cmake is complaining about LINK_PRIVATE in original PR
   # and removing it does not seem to hurt, so be it.
   # target_link_libraries(bench LINK_PRIVATE rt)
   target_link_libraries(bench rt)
-endif(UNIX AND NOT APPLE AND NOT HAIKU)
+endif(UNIX AND NOT APPLE AND NOT HAIKU AND NOT ANDROID)
 target_link_libraries(bench blosc_shared)
 
 # have to copy blosc dlls on Windows
