aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarc Gallagher <oracleoftroy@gmail.com>2017-11-26 22:32:23 -0800
committerMarc Gallagher <oracleoftroy@gmail.com>2017-11-26 22:32:23 -0800
commit488e910260f7f13956186ec66e0910a152bf5d2e (patch)
treeb0b515c2e5b65e2af7ad9618611bffc88b147701
parent7938006022d38176c2a9c7dd2829385559491ee0 (diff)
downloadvcpkg-488e910260f7f13956186ec66e0910a152bf5d2e.tar.gz
vcpkg-488e910260f7f13956186ec66e0910a152bf5d2e.zip
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)