[libxslt] Use config mode for package LibXml2 in config file
- From: Nick Wellnhofer <nwellnhof src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [libxslt] Use config mode for package LibXml2 in config file
- Date: Mon, 7 Dec 2020 10:56:28 +0000 (UTC)
commit 6b94c01770556d1c16042553103b89babc1dbef4
Author: Markus Rickert <rickert fortiss org>
Date: Mon Nov 30 13:06:34 2020 +0100
Use config mode for package LibXml2 in config file
libxslt-config.cmake.in | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/libxslt-config.cmake.in b/libxslt-config.cmake.in
index ca71604b..b3f9d2f2 100644
--- a/libxslt-config.cmake.in
+++ b/libxslt-config.cmake.in
@@ -46,7 +46,7 @@ select_library_location(LibXslt::LibExslt LIBXSLT_EXSLT)
include(CMakeFindDependencyMacro)
-find_dependency(LibXml2)
+find_dependency(LibXml2 CONFIG)
list(APPEND LIBXSLT_INCLUDE_DIRS ${LIBXML2_INCLUDE_DIRS})
list(APPEND LIBXSLT_LIBRARIES ${LIBXML2_LIBRARIES})
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]