Skip to content

Commit

Permalink
[CMakeLists.txt] Fixing linker flag for ubuntu which was not finding …
Browse files Browse the repository at this point in the history
…zmq when library was imported.
  • Loading branch information
mmmarinho authored Nov 26, 2024
1 parent 9d397e8 commit 51a03ed
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -153,3 +153,6 @@ pybind11_add_module(_dqrobotics
if(APPLE)
target_link_libraries(_dqrobotics PRIVATE cppzmq)
endif()
if(UNIX AND NOT APPLE)
target_link_libraries(_dqrobotics PRIVATE zmq)
endif()

0 comments on commit 51a03ed

Please sign in to comment.