aboutsummaryrefslogtreecommitdiff
path: root/ports/gts
diff options
context:
space:
mode:
Diffstat (limited to 'ports/gts')
-rw-r--r--ports/gts/CONTROL8
-rw-r--r--ports/gts/portfile.cmake10
2 files changed, 6 insertions, 12 deletions
diff --git a/ports/gts/CONTROL b/ports/gts/CONTROL
index faa409619..0aa1251e4 100644
--- a/ports/gts/CONTROL
+++ b/ports/gts/CONTROL
@@ -1,4 +1,4 @@
-Source: gts
-Version: 0.7.6
-Description: A Library intended to provide a set of useful functions to deal with 3D surfaces meshed with interconnected triangles
-Build-Depends: glib
+Source: gts
+Version: 0.7.6-1
+Description: A Library intended to provide a set of useful functions to deal with 3D surfaces meshed with interconnected triangles
+Build-Depends: glib
diff --git a/ports/gts/portfile.cmake b/ports/gts/portfile.cmake
index 14a5e2bfa..71a62e756 100644
--- a/ports/gts/portfile.cmake
+++ b/ports/gts/portfile.cmake
@@ -1,13 +1,7 @@
-if(VCPKG_LIBRARY_LINKAGE STREQUAL "static")
- message("gts does not support building statically -- building dynamically instead")
- set(VCPKG_LIBRARY_LINKAGE "dynamic")
-endif()
+include(vcpkg_common_functions)
-if(VCPKG_CRT_LINKAGE STREQUAL "static")
- message("gts can only be built dynamically, and therefore cannot static link the CRT")
-endif()
+vcpkg_check_linkage(ONLY_DYNAMIC_LIBRARY ONLY_DYNAMIC_CRT)
-include(vcpkg_common_functions)
vcpkg_from_github(
OUT_SOURCE_PATH SOURCE_PATH
REPO finetjul/gts