[libxml2] Remove include directories for link-only dependencies



commit 2377a312b9aeff58ffe0972a370674ced2a37bac
Author: Markus Rickert <rickert fortiss org>
Date:   Wed Dec 30 14:40:04 2020 +0100

    Remove include directories for link-only dependencies

 libxml2-config.cmake.cmake.in | 3 ---
 libxml2-config.cmake.in       | 3 ---
 2 files changed, 6 deletions(-)
---
diff --git a/libxml2-config.cmake.cmake.in b/libxml2-config.cmake.cmake.in
index f1760572..fa4d722f 100644
--- a/libxml2-config.cmake.cmake.in
+++ b/libxml2-config.cmake.cmake.in
@@ -97,19 +97,16 @@ if(NOT @BUILD_SHARED_LIBS@)
   if(@LIBXML2_WITH_ICU@)
     find_dependency(ICU COMPONENTS data i18n uc)
     list(APPEND LIBXML2_LIBRARIES    ${ICU_LIBRARIES})
-    list(APPEND LIBXML2_INCLUDE_DIRS ${ICU_INCLUDE_DIRS})
   endif()
 
   if(@LIBXML2_WITH_LZMA@)
     find_dependency(LibLZMA)
     list(APPEND LIBXML2_LIBRARIES    ${LIBLZMA_LIBRARIES})
-    list(APPEND LIBXML2_INCLUDE_DIRS ${LIBLZMA_INCLUDE_DIRS})
   endif()
 
   if(@LIBXML2_WITH_ZLIB@)
     find_dependency(ZLIB)
     list(APPEND LIBXML2_LIBRARIES    ${ZLIB_LIBRARIES})
-    list(APPEND LIBXML2_INCLUDE_DIRS ${ZLIB_INCLUDE_DIRS})
   endif()
 
   if(UNIX)
diff --git a/libxml2-config.cmake.in b/libxml2-config.cmake.in
index cc5972e0..f0bc156c 100644
--- a/libxml2-config.cmake.in
+++ b/libxml2-config.cmake.in
@@ -59,21 +59,18 @@ endif()
 if(@WITH_ICU@)
   find_dependency(ICU COMPONENTS data i18n uc)
   list(APPEND LIBXML2_LIBRARIES    ${ICU_LIBRARIES})
-  list(APPEND LIBXML2_INCLUDE_DIRS ${ICU_INCLUDE_DIRS})
   list(APPEND LIBXML2_INTERFACE_LINK_LIBRARIES 
"\$<LINK_ONLY:ICU::data>;\$<LINK_ONLY:ICU::i18n>;\$<LINK_ONLY:ICU::uc>")
 endif()
 
 if(@WITH_LZMA@)
   find_dependency(LibLZMA)
   list(APPEND LIBXML2_LIBRARIES    ${LIBLZMA_LIBRARIES})
-  list(APPEND LIBXML2_INCLUDE_DIRS ${LIBLZMA_INCLUDE_DIRS})
   list(APPEND LIBXML2_INTERFACE_LINK_LIBRARIES "\$<LINK_ONLY:LibLZMA::LibLZMA>")
 endif()
 
 if(@WITH_ZLIB@)
   find_dependency(ZLIB)
   list(APPEND LIBXML2_LIBRARIES    ${ZLIB_LIBRARIES})
-  list(APPEND LIBXML2_INCLUDE_DIRS ${ZLIB_INCLUDE_DIRS})
   list(APPEND LIBXML2_INTERFACE_LINK_LIBRARIES "\$<LINK_ONLY:ZLIB::ZLIB>")
 endif()
 


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]