deps: fix build issue on windows.

Windows does not build libxml2 so the dependency recently
added for mac caused a cmake error.
This commit is contained in:
Ray molenkamp 2020-09-18 13:52:06 -06:00
parent 05c57dc563
commit 104df2453a
1 changed files with 8 additions and 1 deletions

View File

@ -62,6 +62,13 @@ endif()
add_dependencies(
external_clang
external_xml2
ll
)
# We currently do not build libxml2 on Windows.
if(NOT WIN32)
add_dependencies(
external_clang
external_xml2
)
endif()