Skip to content

Commit

Permalink
Test building on Windows with new libxml2.
Browse files Browse the repository at this point in the history
  • Loading branch information
hsorby committed Oct 29, 2024
1 parent c100578 commit 891b3e6
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions cmake/environmentchecks.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -117,8 +117,8 @@ set(HAVE_LIBXML2_CONFIG FALSE)
#
# This does change how we get information about include paths and such so we
# need to track how we found LibXml2.
find_package(LibXml2 CONFIG QUIET)
if(LibXml2_FOUND)
#find_package(LibXml2 CONFIG QUIET)
if(FALSE)
if(TARGET z)
set(HAVE_ZLIB_TARGET TRUE)
get_target_property(ZLIB_TARGET_TYPE z TYPE)
Expand Down Expand Up @@ -155,7 +155,6 @@ if(LibXml2_FOUND)
endif()
endforeach()
else()
message(STATUS "CMAKE_PREFIX_PATH=${CMAKE_PREFIX_PATH}")
find_package(LibXml2 REQUIRED)
set(_LibXml2_FIND_REPORTED TRUE CACHE INTERNAL "Flag for reporting on what LibXml2 was found.")
if(TARGET z)
Expand Down

0 comments on commit 891b3e6

Please sign in to comment.