mirror of
https://github.com/zeromq/libzmq.git
synced 2025-01-09 19:17:41 +01:00
e89577d30c
Libzmq uses C++ standard library features, so users of it should link against that as well when statically linking. Add it to Libs.private so users using pkg-config automatically gets the correct linker flags. Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
12 lines
285 B
CMake
12 lines
285 B
CMake
prefix=@CMAKE_INSTALL_PREFIX@
|
|
exec_prefix=${prefix}
|
|
libdir=${prefix}/lib
|
|
includedir=${prefix}/include
|
|
|
|
Name: libzmq
|
|
Description: 0MQ c++ library
|
|
Version: @ZMQ_VERSION_MAJOR@.@ZMQ_VERSION_MINOR@.@ZMQ_VERSION_PATCH@
|
|
Libs: -L${libdir} -lzmq
|
|
Libs.private: -lstdc++
|
|
Cflags: -I${includedir}
|