aports/community/glog/ucontext-ppc64le.patch
2022-04-19 20:52:02 +00:00

14 lines
445 B
Diff

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 ${PROJECT_VERSION})
set_target_properties (glog PROPERTIES SOVERSION 1)