Skip to content

Commit 51a03ed

Browse files
authored
[CMakeLists.txt] Fixing linker flag for ubuntu which was not finding zmq when library was imported.
1 parent 9d397e8 commit 51a03ed

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

CMakeLists.txt

+3
Original file line numberDiff line numberDiff line change
@@ -153,3 +153,6 @@ pybind11_add_module(_dqrobotics
153153
if(APPLE)
154154
target_link_libraries(_dqrobotics PRIVATE cppzmq)
155155
endif()
156+
if(UNIX AND NOT APPLE)
157+
target_link_libraries(_dqrobotics PRIVATE zmq)
158+
endif()

0 commit comments

Comments
 (0)