mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-12-24 05:17:56 +08:00
16 lines
452 B
CMake
16 lines
452 B
CMake
cmake_minimum_required(VERSION 3.14)
|
|
|
|
add_custom_target(LIBS)
|
|
|
|
find_package(XercesC CONFIG REQUIRED)
|
|
add_library(xerces-c INTERFACE IMPORTED GLOBAL)
|
|
target_link_libraries(xerces-c INTERFACE XercesC::XercesC)
|
|
|
|
find_package(ZLIB REQUIRED)
|
|
|
|
add_library(zlib INTERFACE IMPORTED GLOBAL)
|
|
add_library(zlibstatic INTERFACE IMPORTED GLOBAL)
|
|
|
|
target_link_libraries(zlib INTERFACE ZLIB::ZLIB)
|
|
target_link_libraries(zlibstatic INTERFACE ZLIB::ZLIB)
|