mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-04-16 19:16:42 +02:00
25 lines
757 B
Diff
25 lines
757 B
Diff
From 3f2e0a24fa0a4ab131589cbbff50586fda9a69f7 Mon Sep 17 00:00:00 2001
|
|
From: Luca Weiss <luca@lucaweiss.eu>
|
|
Date: Sun, 26 Jan 2025 16:56:24 +0100
|
|
Subject: [PATCH 2/3] Add GLOG_USE_GLOG_EXPORT definition for glog
|
|
|
|
---
|
|
cmake/FindGLog.cmake | 2 ++
|
|
1 file changed, 2 insertions(+)
|
|
|
|
diff --git a/cmake/FindGLog.cmake b/cmake/FindGLog.cmake
|
|
index 025daae..9b48673 100644
|
|
--- a/cmake/FindGLog.cmake
|
|
+++ b/cmake/FindGLog.cmake
|
|
@@ -8,6 +8,8 @@ find_path(GLog_INCLUDE_DIR glog/logging.h)
|
|
find_library(GLog_LIBRARY libglog.so
|
|
HINTS /usr/lib/arm-linux-gnueabihf/)
|
|
|
|
+add_compile_definitions(GLOG_USE_GLOG_EXPORT)
|
|
+
|
|
include(FindPackageHandleStandardArgs)
|
|
find_package_handle_standard_args(GLog DEFAULT_MSG GLog_LIBRARY GLog_INCLUDE_DIR)
|
|
|
|
--
|
|
2.48.1
|
|
|