File tree Expand file tree Collapse file tree 2 files changed +14
-0
lines changed Expand file tree Collapse file tree 2 files changed +14
-0
lines changed Original file line number Diff line number Diff line change @@ -87,6 +87,11 @@ write_basic_package_version_file(${CMAKE_CURRENT_BINARY_DIR}/${PROJECT_NAME}Conf
87
87
COMPATIBILITY AnyNewerVersion )
88
88
set (CMAKE_SIZEOF_VOID_P ${CPPZMQ_SIZEOF_VOID_P} )
89
89
90
+ configure_file (${CMAKE_CURRENT_SOURCE_DIR} /cppzmq.pc.in
91
+ ${CMAKE_CURRENT_BINARY_DIR} /cppzmq.pc @ONLY )
92
+ install (FILES ${CMAKE_CURRENT_BINARY_DIR} /cppzmq.pc
93
+ DESTINATION ${CMAKE_INSTALL_LIBDIR} /pkgconfig )
94
+
90
95
install (EXPORT ${PROJECT_NAME} -targets
91
96
FILE ${PROJECT_NAME} Targets.cmake
92
97
DESTINATION ${CPPZMQ_CMAKECONFIG_INSTALL_DIR} )
Original file line number Diff line number Diff line change
1
+ prefix="@CMAKE_INSTALL_PREFIX@"
2
+ includedir="@CMAKE_INSTALL_FULL_INCLUDEDIR@"
3
+
4
+ Name: @PROJECT_NAME@
5
+ Description: C++ binding for libzmq
6
+ URL: https://github.com/zeromq/cppzmq
7
+ Version: @PROJECT_VERSION@
8
+ Requires: libzmq
9
+ Cflags: -I"${includedir}" @pkg_config_defines@
You can’t perform that action at this time.
0 commit comments