mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-12-16 02:19:41 +08:00
407ca92259
* Update zxing-cpp and fix iconv dependency * Convert PATCH file format * update patch * update version * update patch * update version * revert the line end * update version * delete c++ 11 * update version
54 lines
1.7 KiB
Diff
54 lines
1.7 KiB
Diff
diff --git a/CMakeLists.txt b/CMakeLists.txt
|
|
index 0f172d3..4999942 100644
|
|
--- a/CMakeLists.txt
|
|
+++ b/CMakeLists.txt
|
|
@@ -42,10 +42,13 @@ include(source_files.cmake)
|
|
if(WIN32)
|
|
include_directories(core/lib/win32)
|
|
set(CMAKE_DEBUG_POSTFIX -debug)
|
|
-else()
|
|
- set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++11")
|
|
endif()
|
|
|
|
+# Bigint
|
|
+find_package(bigint CONFIG REQUIRED)
|
|
+
|
|
+link_libraries(bigint::bigint)
|
|
+
|
|
# OpenCV classes
|
|
if(WITH_OPENCV)
|
|
find_package(OpenCV REQUIRED)
|
|
diff --git a/source_files.cmake b/source_files.cmake
|
|
index db3d8d4..39abe82 100644
|
|
--- a/source_files.cmake
|
|
+++ b/source_files.cmake
|
|
@@ -1,28 +1,4 @@
|
|
set(LIBZXING_FILES
|
|
- core/src/bigint/BigInteger.cc
|
|
- core/src/bigint/BigInteger.cc
|
|
- core/src/bigint/BigInteger.hh
|
|
- core/src/bigint/BigInteger.hh
|
|
- core/src/bigint/BigIntegerAlgorithms.cc
|
|
- core/src/bigint/BigIntegerAlgorithms.cc
|
|
- core/src/bigint/BigIntegerAlgorithms.hh
|
|
- core/src/bigint/BigIntegerAlgorithms.hh
|
|
- core/src/bigint/BigIntegerLibrary.hh
|
|
- core/src/bigint/BigIntegerLibrary.hh
|
|
- core/src/bigint/BigIntegerUtils.cc
|
|
- core/src/bigint/BigIntegerUtils.cc
|
|
- core/src/bigint/BigIntegerUtils.hh
|
|
- core/src/bigint/BigIntegerUtils.hh
|
|
- core/src/bigint/BigUnsigned.cc
|
|
- core/src/bigint/BigUnsigned.cc
|
|
- core/src/bigint/BigUnsigned.hh
|
|
- core/src/bigint/BigUnsigned.hh
|
|
- core/src/bigint/BigUnsignedInABase.cc
|
|
- core/src/bigint/BigUnsignedInABase.cc
|
|
- core/src/bigint/BigUnsignedInABase.hh
|
|
- core/src/bigint/BigUnsignedInABase.hh
|
|
- core/src/bigint/NumberlikeArray.hh
|
|
- core/src/bigint/NumberlikeArray.hh
|
|
core/src/zxing/aztec/AztecDetectorResult.cpp
|
|
core/src/zxing/aztec/AztecDetectorResult.h
|
|
core/src/zxing/aztec/AztecReader.cpp
|