I compiled libwebsockets
using:
cmake
make all
sudo make install
ldconfig
I'm trying to compile an example, but CMake gives the error that lws
must have been configured with LWS_ROLE_WS
. I cannot work out how to 'create' lws
with that option.
I'm quite happy with makefiles, but I know little about CMake, and here the configuration appears to be very complicated. The build instructions include some options, but nothing relating to this.
Basically, I don't even understand where I should be looking; is it necessary to be fluent in CMake to use libwebsockets
?