2018-03-12 14:41:51 +08:00
|
|
|
_find_package(${ARGS})
|
2018-04-04 06:59:54 +08:00
|
|
|
if(LibXml2_FOUND)
|
2018-03-12 14:41:51 +08:00
|
|
|
find_package(LibLZMA)
|
2018-04-04 06:59:54 +08:00
|
|
|
list(APPEND LIBXML2_LIBRARIES ${LIBLZMA_LIBRARIES})
|
|
|
|
if(CMAKE_SYSTEM_NAME STREQUAL "Windows" OR CMAKE_SYSTEM_NAME STREQUAL "WindowsStore")
|
|
|
|
list(APPEND LIBXML2_LIBRARIES
|
|
|
|
debug ${_VCPKG_INSTALLED_DIR}/${VCPKG_TARGET_TRIPLET}/debug/lib/libiconv.lib
|
|
|
|
optimized ${_VCPKG_INSTALLED_DIR}/${VCPKG_TARGET_TRIPLET}/lib/libiconv.lib
|
|
|
|
debug ${_VCPKG_INSTALLED_DIR}/${VCPKG_TARGET_TRIPLET}/debug/lib/libcharset.lib
|
|
|
|
optimized ${_VCPKG_INSTALLED_DIR}/${VCPKG_TARGET_TRIPLET}/lib/libcharset.lib
|
|
|
|
ws2_32)
|
|
|
|
endif()
|
2018-03-12 14:41:51 +08:00
|
|
|
endif()
|