aboutsummaryrefslogtreecommitdiff
path: root/vcpkg/ports/libdmtx/portfile.cmake
diff options
context:
space:
mode:
Diffstat (limited to 'vcpkg/ports/libdmtx/portfile.cmake')
-rw-r--r--vcpkg/ports/libdmtx/portfile.cmake20
1 files changed, 20 insertions, 0 deletions
diff --git a/vcpkg/ports/libdmtx/portfile.cmake b/vcpkg/ports/libdmtx/portfile.cmake
new file mode 100644
index 0000000..ce2711b
--- /dev/null
+++ b/vcpkg/ports/libdmtx/portfile.cmake
@@ -0,0 +1,20 @@
+vcpkg_from_github(
+ OUT_SOURCE_PATH SOURCE_PATH
+ REPO dmtx/libdmtx
+ REF v${VERSION}
+ SHA512 802a697669afeb74da0cc3736fe7301fcc1653c1e3bebc343a8baf76e52226cc5509231519343267a92e22ebdfcc5b2825380339991340f054f0a6685d2ffcdc
+ PATCHES
+ 001-cmake-add-install-target.patch
+)
+
+vcpkg_cmake_configure(
+ SOURCE_PATH "${SOURCE_PATH}"
+)
+
+vcpkg_cmake_install()
+
+vcpkg_copy_pdbs()
+
+file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/include")
+
+vcpkg_install_copyright(FILE_LIST "${SOURCE_PATH}/LICENSE")