aboutsummaryrefslogtreecommitdiff
path: root/vcpkg/ports/tinyproto/portfile.cmake
diff options
context:
space:
mode:
authorEthan Morgan <ethan@gweithio.com>2026-02-14 16:44:06 +0000
committerEthan Morgan <ethan@gweithio.com>2026-02-14 16:44:06 +0000
commit54409423f767d8b1cf30cb7d0efca6b4ca138823 (patch)
treed915ac7828703ce4b963efdd9728a1777ba18c1e /vcpkg/ports/tinyproto/portfile.cmake
move to own git serverHEADmaster
Diffstat (limited to 'vcpkg/ports/tinyproto/portfile.cmake')
-rw-r--r--vcpkg/ports/tinyproto/portfile.cmake21
1 files changed, 21 insertions, 0 deletions
diff --git a/vcpkg/ports/tinyproto/portfile.cmake b/vcpkg/ports/tinyproto/portfile.cmake
new file mode 100644
index 0000000..54c1354
--- /dev/null
+++ b/vcpkg/ports/tinyproto/portfile.cmake
@@ -0,0 +1,21 @@
+vcpkg_check_linkage(ONLY_STATIC_LIBRARY)
+
+vcpkg_from_github(
+ OUT_SOURCE_PATH SOURCE_PATH
+ REPO lexus2k/tinyproto
+ REF 77df8bbde4fa075031014eeef6061f2892c7b084
+ SHA512 c8b1a19d45fe3527e7e16bd1641842e639e70ad3f33f804b84a3a95719ac328305a4360c9d7f6b6c5a659b01a38a50f75298467dc8c16b4d118a8ee4948ce906
+ HEAD_REF master
+)
+
+vcpkg_cmake_configure(
+ SOURCE_PATH "${SOURCE_PATH}"
+ OPTIONS "-DCMAKE_CXX_STANDARD=11"
+)
+vcpkg_cmake_install()
+vcpkg_cmake_config_fixup(CONFIG_PATH "lib/cmake/tinyproto")
+
+file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/include")
+
+vcpkg_install_copyright(FILE_LIST "${SOURCE_PATH}/LICENSE")
+