1 From 88fee5c6eb2271d3de6b9878cd29a0494999aa18 Mon Sep 17 00:00:00 2001
2 From: "Arnout Vandecappelle (Essensium/Mind)" <arnout@mind.be>
3 Date: Sun, 20 Nov 2016 23:46:45 +0100
4 Subject: [PATCH] Use correct variables for GnuTLS detection
6 At least with recent CMake, it seems the variables created by
7 find_package (GnuTLS) are called PC_GNUTLS_INCLUDE_DIRS and
10 Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
12 CMakeLists.txt | 4 ++--
13 1 file changed, 2 insertions(+), 2 deletions(-)
15 diff --git a/CMakeLists.txt b/CMakeLists.txt
16 index d8125d9..ccf827b 100644
19 @@ -110,8 +110,8 @@ message ("-- Looking for GnuTLS")
20 find_package (GnuTLS REQUIRED)
22 set (HAVE_LIBGNUTLS true)
23 - set (TASKD_INCLUDE_DIRS ${TASKD_INCLUDE_DIRS} ${GNUTLS_INCLUDE_DIR})
24 - set (TASKD_LIBRARIES ${TASKD_LIBRARIES} ${GNUTLS_LIBRARIES})
25 + set (TASKD_INCLUDE_DIRS ${TASKD_INCLUDE_DIRS} ${PC_GNUTLS_INCLUDE_DIRS})
26 + set (TASKD_LIBRARIES ${TASKD_LIBRARIES} ${PC_GNUTLS_LIBRARIES})
29 message ("-- Looking for libuuid")