File tree Expand file tree Collapse file tree 2 files changed +5
-2
lines changed
Expand file tree Collapse file tree 2 files changed +5
-2
lines changed Original file line number Diff line number Diff line change @@ -309,6 +309,8 @@ install(FILES
309309 DESTINATION ${CMAKE_INSTALL_LIBDIR} /cmake/Avro
310310)
311311
312+ cmake_path (APPEND pc_install_includedir "\$ {prefix}" "${CMAKE_INSTALL_INCLUDEDIR} " )
313+ cmake_path (APPEND pc_install_libdir "\$ {exec_prefix}" "${CMAKE_INSTALL_LIBDIR} " )
312314configure_file (
313315 "${CMAKE_CURRENT_SOURCE_DIR} /cmake/avro-cpp.pc.in"
314316 "${CMAKE_CURRENT_BINARY_DIR} /avro-cpp.pc"
Original file line number Diff line number Diff line change 11prefix=@CMAKE_INSTALL_PREFIX@
2- includedir=${prefix}/@CMAKE_INSTALL_INCLUDEDIR@
3- libdir=${prefix}/@CMAKE_INSTALL_LIBDIR@
2+ exec_prefix=${prefix}
3+ includedir=@pc_install_includedir@
4+ libdir=@pc_install_libdir@
45
56Name: avro-cpp
67Description: C++ library for parsing Avro data
You can’t perform that action at this time.
0 commit comments