mirror of https://github.com/microsoft/vcpkg.git
[libdmtx] Update to 0.7.8 (#52022)
This commit is contained in:
parent
bf432b624c
commit
2344140fd2
|
|
@ -1,21 +0,0 @@
|
|||
diff --git a/CMakeLists.txt b/CMakeLists.txt
|
||||
index 6420a813c1..749bd8d680 100644
|
||||
--- a/CMakeLists.txt
|
||||
+++ b/CMakeLists.txt
|
||||
@@ -1,4 +1,4 @@
|
||||
-cmake_minimum_required(VERSION 3.0)
|
||||
+cmake_minimum_required(VERSION 3.5)
|
||||
project(DMTX VERSION 0.7.5 LANGUAGES C)
|
||||
|
||||
# DMTX library
|
||||
@@ -26,3 +26,10 @@ if(CMAKE_PROJECT_NAME STREQUAL PROJECT_NAME)
|
||||
add_subdirectory("test")
|
||||
endif()
|
||||
endif()
|
||||
+
|
||||
+# Add install rules
|
||||
+install(TARGETS dmtx
|
||||
+ RUNTIME DESTINATION bin
|
||||
+ ARCHIVE DESTINATION lib
|
||||
+ LIBRARY DESTINATION lib)
|
||||
+install(FILES "dmtx.h" DESTINATION include)
|
||||
|
|
@ -2,13 +2,17 @@ vcpkg_from_github(
|
|||
OUT_SOURCE_PATH SOURCE_PATH
|
||||
REPO dmtx/libdmtx
|
||||
REF v${VERSION}
|
||||
SHA512 802a697669afeb74da0cc3736fe7301fcc1653c1e3bebc343a8baf76e52226cc5509231519343267a92e22ebdfcc5b2825380339991340f054f0a6685d2ffcdc
|
||||
PATCHES
|
||||
001-cmake-add-install-target.patch
|
||||
SHA512 2796b2a43d2e83732bd9e9c3d4c702c3b40f55453713d968cf8927534952af3891c8e1f650650e4d47e9c58f50b23f43e2653e2b9ea474359a00dcd097b6bf00
|
||||
)
|
||||
|
||||
string(COMPARE EQUAL "${VCPKG_LIBRARY_LINKAGE}" "dynamic" DMTX_SHARED)
|
||||
string(COMPARE EQUAL "${VCPKG_LIBRARY_LINKAGE}" "static" DMTX_STATIC)
|
||||
|
||||
vcpkg_cmake_configure(
|
||||
SOURCE_PATH "${SOURCE_PATH}"
|
||||
OPTIONS
|
||||
-DDMTX_SHARED=${DMTX_SHARED}
|
||||
-DDMTX_STATIC=${DMTX_STATIC}
|
||||
)
|
||||
|
||||
vcpkg_cmake_install()
|
||||
|
|
|
|||
|
|
@ -1,7 +1,6 @@
|
|||
{
|
||||
"name": "libdmtx",
|
||||
"version": "0.7.7",
|
||||
"port-version": 1,
|
||||
"version": "0.7.8",
|
||||
"description": "Software library that enables programs to read and write Data Matrix barcodes of the modern ECC200 variety",
|
||||
"homepage": "https://github.com/dmtx/libdmtx",
|
||||
"license": "BSD-2-Clause",
|
||||
|
|
|
|||
|
|
@ -4897,8 +4897,8 @@
|
|||
"port-version": 1
|
||||
},
|
||||
"libdmtx": {
|
||||
"baseline": "0.7.7",
|
||||
"port-version": 1
|
||||
"baseline": "0.7.8",
|
||||
"port-version": 0
|
||||
},
|
||||
"libdmx": {
|
||||
"baseline": "1.1.5",
|
||||
|
|
|
|||
|
|
@ -1,5 +1,10 @@
|
|||
{
|
||||
"versions": [
|
||||
{
|
||||
"git-tree": "98b487a6572b773b9803366aabc2c9b349cedf80",
|
||||
"version": "0.7.8",
|
||||
"port-version": 0
|
||||
},
|
||||
{
|
||||
"git-tree": "83a83dba48ce7d0cd1d96808eac90a50a7c2d472",
|
||||
"version": "0.7.7",
|
||||
|
|
|
|||
Loading…
Reference in New Issue