example: add find_package of cppzmq

without this, compilation failed with /usr/bin/ld: cannot find -lcppzmq
This commit is contained in:
Quentin Collet 2021-02-02 22:04:37 +01:00
parent c591113bb7
commit da0d1b859a

View File

@ -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})
find_package(Threads)
find_package(cppzmq)
add_executable(
pubsub_multithread_inproc