mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-12-23 06:30:25 +08:00
03266cc498
* [orc] add apache orc library * [orc] Simplify patch. Note in usage that no targets are available. Don't build tools on windows because they are not supported. * [orc] Move tools to tools/orc/ to fix Linux build. * [orc] fix tools ouput folder
11 lines
390 B
Plaintext
11 lines
390 B
Plaintext
The package orc does not provide CMake targets:
|
|
|
|
find_package(protobuf CONFIG REQUIRED)
|
|
find_package(ZLIB REQUIRED)
|
|
find_package(Snappy CONFIG REQUIRED)
|
|
|
|
find_library(LZ4_LIBRARY NAMES lz4d lz4)
|
|
find_library(ORC_LIBRARY NAMES orc)
|
|
|
|
target_link_libraries(main PRIVATE ${ORC_LIBRARY} protobuf::libprotoc protobuf::libprotobuf Snappy::snappy ${LZ4_LIBRARY} ZLIB::ZLIB)
|