summaryrefslogtreecommitdiffhomepage
path: root/patches/tdnf-2.1.1_pre.local.patch
blob: 15189a8e0df8f3150434ebcba5f1310f4f089dab (plain)
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
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
From 047b306ec03d4d83c66653f75de448e697cb8c0c Mon Sep 17 00:00:00 2001
From: Neal Gompa <ngompa13@gmail.com>
Date: Fri, 29 May 2020 19:17:58 -0400
Subject: [PATCH] CMakeLists: Disable building Python stuff for now

We do not need the Python bindings at the moment...

Signed-off-by: Neal Gompa <ngompa13@gmail.com>
---
 CMakeLists.txt | 2 --
 1 file changed, 2 deletions(-)

diff --git a/CMakeLists.txt b/CMakeLists.txt
index 25ee54e..b126bb0 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -66,8 +66,6 @@ set(LIB_TDNF_CLI tdnfcli)
 add_subdirectory("${PROJECT_SOURCE_DIR}/common")
 add_subdirectory("${PROJECT_SOURCE_DIR}/client")
 add_subdirectory("${PROJECT_SOURCE_DIR}/plugins")
-add_subdirectory("${PROJECT_SOURCE_DIR}/python")
 add_subdirectory("${PROJECT_SOURCE_DIR}/resources")
 add_subdirectory("${PROJECT_SOURCE_DIR}/solv")
 add_subdirectory("${PROJECT_SOURCE_DIR}/tools")
-add_subdirectory("${PROJECT_SOURCE_DIR}/pytests")
-- 
2.26.1

--- tdnf-2.1.1/tools/cli/lib/CMakeLists.txt.orig	2020-05-29 18:28:42.000000000 +0100
+++ tdnf-2.1.1/tools/cli/lib/CMakeLists.txt	2020-05-30 21:15:15.525966612 +0100
@@ -6,6 +6,8 @@
 # of the License are located in the COPYING file of this distribution.
 #
 
+include_directories(${CMAKE_SOURCE_DIR}/include)
+
 # configure pkgconfig file
 configure_file(
     tdnfcli.pc.in
@@ -26,6 +28,10 @@
     updateinfocmd.c
 )
 
+target_link_libraries(${LIB_TDNF_CLI}
+    ${LIB_TDNF}
+    ${LIB_TDNF_COMMON}
+)
 
 set_target_properties(${LIB_TDNF_CLI} PROPERTIES
     VERSION ${PROJECT_VERSION}