forked from microsoft/vcpkg
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[avro-cpp] Update to latest version (2022-11-07) (microsoft#27825)
* [avro-cpp] Update to 1.11.1 * [avro-cpp] Update version file * [Avro-cpp] Add "licence" to port file Co-authored-by: MonicaLiu <110024546+MonicaLiu0311@users.noreply.github.com> * [Avro-cpp] Fix HEAD_REF branch (revert to master) * [avro-cpp] Update version file * [avro-cpp] Fix build 'test' feature, update version * [avro-cpp] Update version * [avro-cpp] Update 'usage' file and replace deprecated function * [avro-cpp] Update version * [avro-cpp] Update 'usage' file * [avro-cpp] Update version * [avro-cpp] Update 'usage' file * [avro-cpp] Update version Co-authored-by: MonicaLiu <110024546+MonicaLiu0311@users.noreply.github.com>
- Loading branch information
1 parent
3e3524d
commit d3d3b50
Showing
7 changed files
with
68 additions
and
68 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
The package avro-cpp can be used from CMake via: | ||
|
||
find_path(AVROCPP_INCLUDE_DIR avro/Encoder.hh) | ||
find_library(AVROCPP_LIBRARY_DEBUG avrocpp PATH_SUFFIXES "debug/lib" REQUIRED) | ||
get_filename_component(AVROCPP_ROOT_FIND_DIR ${AVROCPP_INCLUDE_DIR} DIRECTORY) | ||
find_library(AVROCPP_LIBRARY_RELEASE avrocpp PATHS "${AVROCPP_ROOT_FIND_DIR}/lib/" REQUIRED NO_DEFAULT_PATH) | ||
|
||
target_include_directories(main PRIVATE "${AVROCPP_INCLUDE_DIR}") | ||
target_link_libraries(main PRIVATE optimized "${AVROCPP_LIBRARY_RELEASE}" debug "${AVROCPP_LIBRARY_DEBUG}") |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,32 +1,44 @@ | ||
{ | ||
"name": "avro-cpp", | ||
"version-date": "2021-06-01", | ||
"port-version": 1, | ||
"version-date": "2022-11-07", | ||
"description": "Apache Avro is a data serialization system", | ||
"homepage": "https://github.com/apache/avro", | ||
"license": "Apache-2.0", | ||
"supports": "!(windows & static)", | ||
"dependencies": [ | ||
"boost-algorithm", | ||
"boost-any", | ||
"boost-crc", | ||
"boost-filesystem", | ||
"boost-format", | ||
"boost-iostreams", | ||
"boost-lexical-cast", | ||
"boost-math", | ||
"boost-program-options", | ||
"boost-random", | ||
"boost-test", | ||
"boost-thread", | ||
"bzip2", | ||
"liblzma", | ||
"libzip", | ||
"zlib", | ||
"zstd" | ||
"boost-tuple", | ||
{ | ||
"name": "vcpkg-cmake", | ||
"host": true | ||
}, | ||
"zlib" | ||
], | ||
"features": { | ||
"snappy": { | ||
"description": "Support Snappy for compression", | ||
"dependencies": [ | ||
"snappy" | ||
] | ||
}, | ||
"test": { | ||
"description": "Build tests", | ||
"dependencies": [ | ||
"boost-asio", | ||
"boost-bind", | ||
"boost-smart-ptr", | ||
"boost-test", | ||
"boost-thread" | ||
] | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters