aboutsummaryrefslogtreecommitdiff
path: root/ports/zxing-cpp
diff options
context:
space:
mode:
authorras0219 <533828+ras0219@users.noreply.github.com>2020-09-04 18:59:21 -0700
committerGitHub <noreply@github.com>2020-09-04 18:59:21 -0700
commitbb61fc16628994678ee3855008972a28797ba5a7 (patch)
tree419d508bdf29a0edd04976e9ece7f8aa43e332b8 /ports/zxing-cpp
parentc41328a87c1436820f9e3dd2c970d407de52eaf7 (diff)
downloadvcpkg-bb61fc16628994678ee3855008972a28797ba5a7.tar.gz
vcpkg-bb61fc16628994678ee3855008972a28797ba5a7.zip
[blaze][ceres][clapack][geogram][lapack][lapack-reference][opencv4][selene] Fix deps issues (#13229)
Co-authored-by: Robert Schumacher <roschuma@microsoft.com> Co-authored-by: Billy Robert O'Neal III <bion@microsoft.com>
Diffstat (limited to 'ports/zxing-cpp')
-rw-r--r--ports/zxing-cpp/0003-fix-dependency-bigint.patch5
-rw-r--r--ports/zxing-cpp/portfile.cmake8
2 files changed, 6 insertions, 7 deletions
diff --git a/ports/zxing-cpp/0003-fix-dependency-bigint.patch b/ports/zxing-cpp/0003-fix-dependency-bigint.patch
index 1601d3e39..eff577f44 100644
--- a/ports/zxing-cpp/0003-fix-dependency-bigint.patch
+++ b/ports/zxing-cpp/0003-fix-dependency-bigint.patch
@@ -2,15 +2,14 @@ diff --git a/CMakeLists.txt b/CMakeLists.txt
index 54071bd..0edd0e9 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
-@@ -44,6 +44,12 @@ if(WIN32)
+@@ -44,6 +44,11 @@ if(WIN32)
set(CMAKE_DEBUG_POSTFIX -debug)
endif()
+# Bigint
+find_package(bigint CONFIG REQUIRED)
+
-+include_directories(${BIGINT_INCLUDE_DIRS})
-+link_libraries(${BIGINT_LIBRARIES})
++link_libraries(bigint::bigint)
+
# OpenCV classes
if(WITH_OPENCV)
diff --git a/ports/zxing-cpp/portfile.cmake b/ports/zxing-cpp/portfile.cmake
index f6fd43351..9211ef3c6 100644
--- a/ports/zxing-cpp/portfile.cmake
+++ b/ports/zxing-cpp/portfile.cmake
@@ -7,9 +7,9 @@ vcpkg_from_github(
SHA512 a079ad47171224de4469e76bf0779b6ebc9c6dfb3604bd5dbf5e6e5f321d9e6255f689daa749855f8400023602f1773214013c006442e9b32dd4b8146c888c02
HEAD_REF master
PATCHES
- 0001-opencv4-compat.patch
- 0002-improve-features.patch
- 0003-fix-dependency-bigint.patch
+ 0001-opencv4-compat.patch
+ 0002-improve-features.patch
+ 0003-fix-dependency-bigint.patch
)
file(REMOVE ${SOURCE_PATH}/cmake/FindModules/FindIconv.cmake)
@@ -25,7 +25,7 @@ vcpkg_check_features(OUT_FEATURE_OPTIONS FEATURE_OPTIONS
vcpkg_configure_cmake(
SOURCE_PATH ${SOURCE_PATH}
PREFER_NINJA
- OPTIONS ${FEATURE_OPTIONS}
+ OPTIONS ${FEATURE_OPTIONS}
)
vcpkg_install_cmake()