File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -308,3 +308,12 @@ install(FILES
308308 "${CMAKE_CURRENT_BINARY_DIR } /AvroConfigVersion.cmake"
309309 DESTINATION ${CMAKE_INSTALL_LIBDIR} /cmake/Avro
310310)
311+
312+ configure_file (
313+ "${CMAKE_CURRENT_SOURCE_DIR } /cmake/avro-cpp.pc.in"
314+ "${CMAKE_CURRENT_BINARY_DIR } /avro-cpp.pc"
315+ @ONLY
316+ )
317+ install (FILES "${CMAKE_CURRENT_BINARY_DIR } /avro-cpp.pc"
318+ DESTINATION "${CMAKE_INSTALL_LIBDIR} /pkgconfig"
319+ )
Original file line number Diff line number Diff line change 1+ prefix = @CMAKE_INSTALL_PREFIX@
2+ includedir = ${ prefix} /@CMAKE_INSTALL_INCLUDEDIR@
3+ libdir = ${ prefix} /@CMAKE_INSTALL_LIBDIR@
4+
5+ Name : avro-cpp
6+ Description : C++ library for parsing Avro data
7+ URL : https://avro.apache.org/
8+ Version : @AVRO_VERSION@
9+
10+ Cflags : -I ${ includedir}
11+ Libs : -L ${ libdir} -l avrocpp
12+ Requires : fmt
You can’t perform that action at this time.
0 commit comments