aboutsummaryrefslogtreecommitdiff
path: root/ports/treehopper
diff options
context:
space:
mode:
Diffstat (limited to 'ports/treehopper')
-rw-r--r--ports/treehopper/CONTROL2
-rw-r--r--ports/treehopper/portfile.cmake7
2 files changed, 4 insertions, 5 deletions
diff --git a/ports/treehopper/CONTROL b/ports/treehopper/CONTROL
index f50e84f1b..b54e10dde 100644
--- a/ports/treehopper/CONTROL
+++ b/ports/treehopper/CONTROL
@@ -1,5 +1,5 @@
Source: treehopper
-Version: 1.11.3-3
+Version: 1.11.3-4
Description: Treehopper connects the physical world to your computer, tablet, or smartphone.
Homepage: https://treehopper.io
Build-Depends: libusb
diff --git a/ports/treehopper/portfile.cmake b/ports/treehopper/portfile.cmake
index 46ed0d85e..c9e9855ce 100644
--- a/ports/treehopper/portfile.cmake
+++ b/ports/treehopper/portfile.cmake
@@ -1,5 +1,3 @@
-include(vcpkg_common_functions)
-
vcpkg_check_linkage(ONLY_DYNAMIC_LIBRARY ONLY_DYNAMIC_CRT)
vcpkg_from_github(
@@ -18,8 +16,9 @@ vcpkg_install_cmake()
vcpkg_copy_pdbs()
vcpkg_fixup_cmake_targets()
+file(REMOVE_RECURSE ${CURRENT_PACKAGES_DIR}/debug/share)
+
file(INSTALL ${SOURCE_PATH}/C++/API/inc/ DESTINATION ${CURRENT_PACKAGES_DIR}/include/Treehopper/)
-file(INSTALL ${SOURCE_PATH}/LICENSE DESTINATION ${CURRENT_PACKAGES_DIR}/share/treehopper RENAME copyright)
+file(INSTALL ${SOURCE_PATH}/LICENSE DESTINATION ${CURRENT_PACKAGES_DIR}/share/${PORT} RENAME copyright)
-file(REMOVE_RECURSE ${CURRENT_PACKAGES_DIR}/debug/share)