diff options
| author | Robert Schumacher <roschuma@microsoft.com> | 2018-09-11 13:11:51 -0700 |
|---|---|---|
| committer | Alexander Karatarakis <alkarata@microsoft.com> | 2018-09-24 18:08:52 -0700 |
| commit | b35f75d646e8e66ac515a0836e9a808bee54c7ba (patch) | |
| tree | dbee7e5df3473f5aac764dc851318545ce8a82d8 /ports/expat | |
| parent | fd5fe4132c1ea2e5b4277a7ebe2f34f0bfce19fd (diff) | |
| download | vcpkg-b35f75d646e8e66ac515a0836e9a808bee54c7ba.tar.gz vcpkg-b35f75d646e8e66ac515a0836e9a808bee54c7ba.zip | |
[cairo][expat][fontconfig][graphicsmagick][libjpeg-turbo][pixman][tiff] Add unofficial targets and usage information
Diffstat (limited to 'ports/expat')
| -rw-r--r-- | ports/expat/portfile.cmake | 2 | ||||
| -rw-r--r-- | ports/expat/usage | 4 |
2 files changed, 6 insertions, 0 deletions
diff --git a/ports/expat/portfile.cmake b/ports/expat/portfile.cmake index b6db7b374..7e2c322db 100644 --- a/ports/expat/portfile.cmake +++ b/ports/expat/portfile.cmake @@ -43,3 +43,5 @@ if(VCPKG_LIBRARY_LINKAGE STREQUAL "static") string(REPLACE "!defined(XML_STATIC)" "/* vcpkg static build !defined(XML_STATIC) */ 0" EXPAT_EXTERNAL_H "${EXPAT_EXTERNAL_H}") endif() file(WRITE ${CURRENT_PACKAGES_DIR}/include/expat_external.h "${EXPAT_EXTERNAL_H}") + +file(COPY ${CMAKE_CURRENT_LIST_DIR}/usage DESTINATION ${CURRENT_PACKAGES_DIR}/share/expat) diff --git a/ports/expat/usage b/ports/expat/usage new file mode 100644 index 000000000..a2d35a66e --- /dev/null +++ b/ports/expat/usage @@ -0,0 +1,4 @@ +The package expat is compatible with built-in CMake targets:
+
+ find_package(EXPAT REQUIRED)
+ target_link_libraries(main PRIVATE EXPAT::EXPAT)
|
