Skip to content

Commit

Permalink
remove unused cmake code
Browse files Browse the repository at this point in the history
  • Loading branch information
zerotacg committed Jul 17, 2024
1 parent 6bb26a7 commit 08fa027
Showing 1 changed file with 0 additions and 21 deletions.
21 changes: 0 additions & 21 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -238,27 +238,6 @@ IF(WITH_STATIC)
IF(WINSOCK2_LIB)
SET(LIBXML2_LIBRARIES ${LIBXML2_LIBRARIES} ${WINSOCK2_LIB})
ENDIF()

IF(UNIX AND NOT HUNTER_ENABLED)
# under Linux and OS X, recent libxml2 versions are linked against liblzma
FIND_PACKAGE(LibLZMA)
IF(LIBLZMA_LIBRARIES)
SET(LIBXML2_LIBRARIES ${LIBXML2_LIBRARIES} ${LIBLZMA_LIBRARIES})
ENDIF()

# under Linux and OS X, recent libxml2 versions are linked against libicu
FIND_PACKAGE(ICU COMPONENTS data uc)
IF(ICU_FOUND)
IF(ICU_UC_FOUND)
MESSAGE(STATUS "ICU uc was found: ${ICU_LIBRARIES}")
ENDIF()
IF(ICU_DATA_FOUND)
MESSAGE(STATUS "ICU data was found: ${ICU_LIBRARIES}")
ENDIF()
SET(LIBXML2_LIBRARIES ${LIBXML2_LIBRARIES} ICU::data ICU::uc)
ENDIF()

ENDIF()
ENDIF()

IF(FINAL_VERSION)
Expand Down

0 comments on commit 08fa027

Please sign in to comment.