vcpkg/ports/xerces-c/vcpkg-cmake-wrapper.cmake
Sean Warren 125df93c5e [xerces-c] Add libraries required on osx to target using wrapper (#5858)
* [xerces-c] Add libraries required on osx to target using wrapper

* [xerces-c] Bump version number
2019-03-30 22:35:47 -07:00

10 lines
339 B
CMake

_find_package(${ARGS})
if (APPLE)
if (TARGET XercesC::XercesC)
set_property(TARGET XercesC::XercesC APPEND PROPERTY INTERFACE_LINK_LIBRARIES "-framework CoreServices" "-framework CoreFoundation" curl)
list(APPEND XercesC_LIBRARIES "-framework CoreServices" "-framework CoreFoundation" curl)
endif()
endif()