mirror of
https://github.com/zeromq/cppzmq.git
synced 2025-05-02 15:41:40 +02:00
example: add find_package of cppzmq
without this, compilation failed with /usr/bin/ld: cannot find -lcppzmq
This commit is contained in:
parent
c591113bb7
commit
da0d1b859a
@ -10,6 +10,7 @@ set(CMAKE_LIBRARY_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR}/${CMAKE_INSTALL_LIBDIR})
|
|||||||
set(CMAKE_RUNTIME_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR}/${CMAKE_INSTALL_BINDIR})
|
set(CMAKE_RUNTIME_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR}/${CMAKE_INSTALL_BINDIR})
|
||||||
|
|
||||||
find_package(Threads)
|
find_package(Threads)
|
||||||
|
find_package(cppzmq)
|
||||||
|
|
||||||
add_executable(
|
add_executable(
|
||||||
pubsub_multithread_inproc
|
pubsub_multithread_inproc
|
||||||
|
Loading…
x
Reference in New Issue
Block a user