aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobert Schumacher <roschuma@microsoft.com>2017-11-28 13:24:17 -0800
committerGitHub <noreply@github.com>2017-11-28 13:24:17 -0800
commit6c5f52daf3cf1c3d7c0f8430f62436bf1d298b1b (patch)
treeaae5b848844d96470dcb8be52ea36f2c933cc66e
parent950b1494f843a5f15d8286831984cd45a0b95ac2 (diff)
parent488e910260f7f13956186ec66e0910a152bf5d2e (diff)
downloadvcpkg-6c5f52daf3cf1c3d7c0f8430f62436bf1d298b1b.tar.gz
vcpkg-6c5f52daf3cf1c3d7c0f8430f62436bf1d298b1b.zip
Merge pull request #2264 from oracleoftroy/master
Install cmake files so find_package works
-rw-r--r--ports/pugixml/CONTROL2
-rw-r--r--ports/pugixml/portfile.cmake5
2 files changed, 3 insertions, 4 deletions
diff --git a/ports/pugixml/CONTROL b/ports/pugixml/CONTROL
index 01679ea6e..eb1f4e634 100644
--- a/ports/pugixml/CONTROL
+++ b/ports/pugixml/CONTROL
@@ -1,3 +1,3 @@
Source: pugixml
-Version: 1.8.1-2
+Version: 1.8.1-3
Description: C++ XML processing library
diff --git a/ports/pugixml/portfile.cmake b/ports/pugixml/portfile.cmake
index 0d5123974..889063223 100644
--- a/ports/pugixml/portfile.cmake
+++ b/ports/pugixml/portfile.cmake
@@ -26,8 +26,7 @@ endif()
vcpkg_install_cmake()
vcpkg_copy_pdbs()
+vcpkg_fixup_cmake_targets(CONFIG_PATH "lib/cmake/pugixml")
-file(REMOVE_RECURSE ${CURRENT_PACKAGES_DIR}/lib/cmake)
-file(REMOVE_RECURSE ${CURRENT_PACKAGES_DIR}/debug/lib/cmake)
file(REMOVE_RECURSE ${CURRENT_PACKAGES_DIR}/debug/include)
-file(INSTALL ${SOURCE_PATH}/readme.txt DESTINATION ${CURRENT_PACKAGES_DIR}/share/pugixml RENAME copyright) \ No newline at end of file
+file(INSTALL ${SOURCE_PATH}/readme.txt DESTINATION ${CURRENT_PACKAGES_DIR}/share/pugixml RENAME copyright)