aboutsummaryrefslogtreecommitdiff
path: root/ports/treehopper
diff options
context:
space:
mode:
Diffstat (limited to 'ports/treehopper')
-rw-r--r--ports/treehopper/CONTROL6
-rw-r--r--ports/treehopper/portfile.cmake10
2 files changed, 5 insertions, 11 deletions
diff --git a/ports/treehopper/CONTROL b/ports/treehopper/CONTROL
index 336a42250..4435c6cce 100644
--- a/ports/treehopper/CONTROL
+++ b/ports/treehopper/CONTROL
@@ -1,3 +1,3 @@
-Source: treehopper
-Version: 1.11.3-1
-Description: Treehopper connects the physical world to your computer, tablet, or smartphone. For more information, visit https://treehopper.io.
+Source: treehopper
+Version: 1.11.3-2
+Description: Treehopper connects the physical world to your computer, tablet, or smartphone. For more information, visit https://treehopper.io.
diff --git a/ports/treehopper/portfile.cmake b/ports/treehopper/portfile.cmake
index fd90f0392..68cf07bb9 100644
--- a/ports/treehopper/portfile.cmake
+++ b/ports/treehopper/portfile.cmake
@@ -1,12 +1,6 @@
include(vcpkg_common_functions)
-if(VCPKG_LIBRARY_LINKAGE STREQUAL "static")
- message("treehopper only supports dynamic library linkage")
- set(VCPKG_LIBRARY_LINKAGE dynamic)
-endif()
-if(VCPKG_CRT_LINKAGE STREQUAL "static")
- message(FATAL_ERROR "treehopper does not support static crt linkage")
-endif()
+vcpkg_check_linkage(ONLY_DYNAMIC_LIBRARY ONLY_DYNAMIC_CRT)
vcpkg_from_github(
OUT_SOURCE_PATH SOURCE_PATH
@@ -29,4 +23,4 @@ file(INSTALL ${SOURCE_PATH}/C++/API/inc/ DESTINATION ${CURRENT_PACKAGES_DIR}/inc
file(INSTALL ${SOURCE_PATH}/LICENSE DESTINATION ${CURRENT_PACKAGES_DIR}/share/treehopper RENAME copyright)
-file(REMOVE_RECURSE ${CURRENT_PACKAGES_DIR}/debug/share) \ No newline at end of file
+file(REMOVE_RECURSE ${CURRENT_PACKAGES_DIR}/debug/share)