[PATCH] D50918: Add include directory for libxml on macOS

Stephane Sezer via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Aug 22 15:26:38 PDT 2018


This revision was automatically updated to reflect the committed changes.
Closed by commit rL340460: Add include directory for libxml on macOS (authored by sas, committed by ).
Herald added a subscriber: llvm-commits.

Repository:
  rL LLVM

https://reviews.llvm.org/D50918

Files:
  lldb/trunk/cmake/modules/LLDBConfig.cmake


Index: lldb/trunk/cmake/modules/LLDBConfig.cmake
===================================================================
--- lldb/trunk/cmake/modules/LLDBConfig.cmake
+++ lldb/trunk/cmake/modules/LLDBConfig.cmake
@@ -336,14 +336,13 @@
        ${CORE_SERVICES_LIBRARY}
        ${SECURITY_LIBRARY}
        ${DEBUG_SYMBOLS_LIBRARY})
-
+  include_directories(${LIBXML2_INCLUDE_DIR})
 else()
   if (LIBXML2_FOUND)
     add_definitions( -DLIBXML2_DEFINED )
     list(APPEND system_libs ${LIBXML2_LIBRARIES})
     include_directories(${LIBXML2_INCLUDE_DIR})
   endif()
-
 endif()
 
 if( WIN32 AND NOT CYGWIN )


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D50918.162072.patch
Type: text/x-patch
Size: 599 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20180822/bd43ba61/attachment.bin>


More information about the llvm-commits mailing list