aboutsummaryrefslogtreecommitdiff
path: root/ports/xerces-c
diff options
context:
space:
mode:
authorRobert Schumacher <roschuma@microsoft.com>2018-03-08 15:33:11 -0800
committerRobert Schumacher <roschuma@microsoft.com>2018-03-08 15:37:01 -0800
commit7955320bf358b27d1fa30cc650a254bfb48825a3 (patch)
tree2b0aedfaaa511d94c8d64bb7fea4bd643732f842 /ports/xerces-c
parentf9ee8fd6b5764ed4d2f5a6c71a092d70398f4ead (diff)
downloadvcpkg-7955320bf358b27d1fa30cc650a254bfb48825a3.tar.gz
vcpkg-7955320bf358b27d1fa30cc650a254bfb48825a3.zip
[msix] Initial commit of 1.0
Diffstat (limited to 'ports/xerces-c')
-rw-r--r--ports/xerces-c/portfile.cmake2
-rw-r--r--ports/xerces-c/usage4
2 files changed, 5 insertions, 1 deletions
diff --git a/ports/xerces-c/portfile.cmake b/ports/xerces-c/portfile.cmake
index 5623e9518..c0a4166fb 100644
--- a/ports/xerces-c/portfile.cmake
+++ b/ports/xerces-c/portfile.cmake
@@ -52,7 +52,7 @@ file(REMOVE_RECURSE ${CURRENT_PACKAGES_DIR}/include/xercesc/NLS)
file(REMOVE_RECURSE ${CURRENT_PACKAGES_DIR}/include/xercesc/util/MsgLoaders/ICU/resources)
# Handle copyright
-file(COPY ${SOURCE_PATH}/LICENSE DESTINATION ${CURRENT_PACKAGES_DIR}/share/xerces-c)
+file(COPY ${SOURCE_PATH}/LICENSE ${CMAKE_CURRENT_LIST_DIR}/usage DESTINATION ${CURRENT_PACKAGES_DIR}/share/xerces-c)
file(RENAME ${CURRENT_PACKAGES_DIR}/share/xerces-c/LICENSE ${CURRENT_PACKAGES_DIR}/share/xerces-c/copyright)
vcpkg_copy_pdbs() \ No newline at end of file
diff --git a/ports/xerces-c/usage b/ports/xerces-c/usage
new file mode 100644
index 000000000..70333bf7c
--- /dev/null
+++ b/ports/xerces-c/usage
@@ -0,0 +1,4 @@
+The package xerces-c is compatible with built-in CMake targets:
+
+ find_package(XercesC REQUIRED)
+ target_link_libraries(main PRIVATE XercesC::XercesC)