diff --git a/CMakeLists.txt b/CMakeLists.txt
index 846b444..4aeba50 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -658,6 +658,8 @@ if (ANDROID)
   set (glog_libraries_options_for_static_linking "${glog_libraries_options_for_static_linking} -llog")
 endif (ANDROID)
 
+target_link_libraries (glog PRIVATE ucontext)
+
 set_target_properties (glog PROPERTIES VERSION ${glog_VERSION})
 set_target_properties (glog PROPERTIES SOVERSION 2)
 
