blob: b003a90a439a01a002bdfca7437e56d4a12d8c6d (
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
|
From c93b4175480f7ded03e43b17108fed5434263069 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Rene=CC=81=20Schwaiger?= <sanssecours@me.com>
Date: Thu, 28 Dec 2017 12:17:08 +0100
Subject: [PATCH] Augeas: Fix internal inconsistency
Patch-Source: https://github.com/ElektraInitiative/libelektra/pull/1761
---
src/plugins/augeas/CMakeLists.txt | 9 +++++----
1 file changed, 5 insertions(+), 4 deletions(-)
diff --git a/src/plugins/augeas/CMakeLists.txt b/src/plugins/augeas/CMakeLists.txt
index b4c9c7c15b..dc29fa8642 100644
--- a/src/plugins/augeas/CMakeLists.txt
+++ b/src/plugins/augeas/CMakeLists.txt
@@ -23,6 +23,9 @@ if (DEPENDENCY_PHASE)
else (LIBAUGEAS_FOUND)
remove_plugin (augeas "libaugeas not found (libaugeas-dev >= 0.16 needed)")
endif ()
+
+ set (AUGEAS_PLUGIN_INCLUDE_DIRS ${LIBAUGEAS_INCLUDE_DIR} ${LIBXML2_INCLUDE_DIR})
+ set (AUGEAS_PLUGIN_LIBRARIES ${LIBAUGEAS_LIBRARIES} ${LIBXML2_LIBRARIES})
endif ()
add_plugin(augeas
@@ -32,16 +35,14 @@ add_plugin(augeas
ADD_TEST
INSTALL_TEST_DATA
INCLUDE_DIRECTORIES
- ${LIBAUGEAS_INCLUDE_DIR}
- ${LIBXML2_INCLUDE_DIR}
+ ${AUGEAS_PLUGIN_INCLUDE_DIRS}
COMPILE_DEFINITIONS
"${LIBAUGEAS_COMPILE_DEFINITIONS}"
LINK_ELEKTRA
elektra-meta
elektra-proposal
LINK_LIBRARIES
- ${LIBAUGEAS_LIBRARIES}
- ${LIBXML2_LIBRARIES}
+ ${AUGEAS_PLUGIN_LIBRARIES}
)
if (ADDTESTING_PHASE)
|