summaryrefslogtreecommitdiffstats
path: root/mobile-widgets/3rdparty/0008-include-the-shared-not-shared-result-in-log.patch
blob: 38bb2aa7d5a609db006846d3bdb51c818410d14d (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
From a17a22e08e3398b243dbc369a8ff4c790c58db44 Mon Sep 17 00:00:00 2001
From: Dirk Hohndel <dirk@hohndel.org>
Date: Thu, 3 Dec 2020 15:01:18 -0800
Subject: [PATCH 08/11] include the shared / not shared result in log

We shouldn't be building Kirigami as shared library, yet that's
what makes our GitHub builds fail.

Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
---
 CMakeLists.txt | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/CMakeLists.txt b/CMakeLists.txt
index 9f1404ac..6e4f4bba 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -37,9 +37,12 @@ set(AUTOMOC_MOC_OPTIONS -Muri=org.kde.kirigami)
 set(CMAKE_INCLUDE_CURRENT_DIR ON)
 
 if(NOT BUILD_SHARED_LIBS)
+    message(STATUS "Static build of libkirigami")
     add_definitions(-DKIRIGAMI_BUILD_TYPE_STATIC)
     add_definitions(-DQT_PLUGIN)
     add_definitions(-DQT_STATICPLUGIN=1)
+else()
+    message(STATUS "Shared build of libkirigami -- BUILD_SHARED_LIBS is \"${BUILD_SHARED_LIBS}\"")
 endif()
 
 ################# set KDE specific information #################
-- 
2.25.1