CMake works fine but when I run make there is an error saying open SSL is missing
In file included from /usr/include/liveMedia/RTSPClient.hh:34,
from /usr/include/liveMedia/RTSPRegisterSender.hh:26,
from /usr/include/liveMedia/liveMedia.hh:105,
from /home/alex/v4l2rtspserver/inc/V4L2DeviceSource.h:23,
from /home/alex/v4l2rtspserver/inc/H264_V4l2DeviceSource.h:16,
from /home/alex/v4l2rtspserver/src/H264_V4l2DeviceSource.cpp:19:
/usr/include/liveMedia/TLSState.hh:31:10: fatal error: openssl/ssl.h: No such file or directory
31 | #include <openssl/ssl.h>
| ^~~~~~~~~~~~~~~
compilation terminated.
make[2]: *** [CMakeFiles/libv4l2rtspserver.dir/build.make:95: CMakeFiles/libv4l2rtspserver.dir/src/H264_V4l2DeviceSource.cpp.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:119: CMakeFiles/libv4l2rtspserver.dir/all] Error 2
make: *** [Makefile:182: all] Error 2
CMake works fine but when I run make there is an error saying open SSL is missing
. Can anyone give me a hint?