build: Fix Android build (#4157)

diff --git a/source/CMakeLists.txt b/source/CMakeLists.txt
index 8247f6f..6633bc9 100644
--- a/source/CMakeLists.txt
+++ b/source/CMakeLists.txt
@@ -402,6 +402,12 @@
   endif()
 endif()
 
+if (ANDROID)
+    foreach(target ${SPIRV_TOOLS_TARGETS})
+        target_link_libraries(${target} PRIVATE android log)
+    endforeach()
+endif()
+
 if(ENABLE_SPIRV_TOOLS_INSTALL)
   install(TARGETS ${SPIRV_TOOLS_TARGETS} EXPORT ${SPIRV_TOOLS}Targets
     RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR}