aboutsummaryrefslogtreecommitdiff
path: root/ports/tinyxml/portfile.cmake
diff options
context:
space:
mode:
authorTrent Weiss <ttw2xk@virginia.edu>2020-05-21 14:54:42 -0400
committerGitHub <noreply@github.com>2020-05-21 11:54:42 -0700
commit2c2735a9e1729c1926d22d980ebd61b7318e81ae (patch)
treeacb28707efd2d7e4085763fe40f7cd1a837316bc /ports/tinyxml/portfile.cmake
parent4c1db6840fa7661cf2adb27fa56e4bd0c6f022ea (diff)
downloadvcpkg-2c2735a9e1729c1926d22d980ebd61b7318e81ae.tar.gz
vcpkg-2c2735a9e1729c1926d22d980ebd61b7318e81ae.zip
[tinyxml] Use proper CMake targets (#11383)
* use proper cmake targets * change target name to be unofficial
Diffstat (limited to 'ports/tinyxml/portfile.cmake')
-rw-r--r--ports/tinyxml/portfile.cmake3
1 files changed, 2 insertions, 1 deletions
diff --git a/ports/tinyxml/portfile.cmake b/ports/tinyxml/portfile.cmake
index b43526efa..0ffc859aa 100644
--- a/ports/tinyxml/portfile.cmake
+++ b/ports/tinyxml/portfile.cmake
@@ -26,8 +26,9 @@ vcpkg_configure_cmake(
vcpkg_install_cmake()
vcpkg_copy_pdbs()
-
+vcpkg_fixup_cmake_targets()
file(REMOVE_RECURSE ${CURRENT_PACKAGES_DIR}/debug/include)
+file(REMOVE_RECURSE ${CURRENT_PACKAGES_DIR}/debug/share)
file(INSTALL ${CMAKE_CURRENT_LIST_DIR}/License.txt DESTINATION ${CURRENT_PACKAGES_DIR}/share/tinyxml RENAME copyright)
file(INSTALL ${CMAKE_CURRENT_LIST_DIR}/tinyxml-config.cmake DESTINATION ${CURRENT_PACKAGES_DIR}/share/tinyxml)