robotology / ycm-cmake-modules

YCM (YCM CMake modules) is a collection of various useful CMake modules.
http://robotology.github.io/ycm-cmake-modules
Other
50 stars 22 forks source link

Add FinduSockets.cmake and FinduWebSockets.cmake find-modules #421

Closed traversaro closed 1 year ago

traversaro commented 1 year ago

Add CMake modules to find the uSockets and uWebSockets libraries.

They are supposed to be used as:

find_package(uSockets REQUIRED)

target_link_libraries(<..> PRIVATE uSockets::uSockets)

and

find_package(uWebSockets REQUIRED)

target_link_libraries(<..> PRIVATE uWebSockets::uWebSockets)