Skip to content

Commit da0d1b8

Browse files
committed
example: add find_package of cppzmq
without this, compilation failed with /usr/bin/ld: cannot find -lcppzmq
1 parent c591113 commit da0d1b8

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

examples/CMakeLists.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ set(CMAKE_LIBRARY_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR}/${CMAKE_INSTALL_LIBDIR})
1010
set(CMAKE_RUNTIME_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR}/${CMAKE_INSTALL_BINDIR})
1111

1212
find_package(Threads)
13+
find_package(cppzmq)
1314

1415
add_executable(
1516
pubsub_multithread_inproc

0 commit comments

Comments
 (0)