Fast DDS installation problems/errors

I am trying to follow instructions for installation of FAST-DDS on Ubuntu 18.04. During make -j$(nproc --all),I get this error

[  5%] Linking CXX shared library libfastrtps.so
/usr/bin/ld: cannot find -lOpenSSL::SSL
/usr/bin/ld: cannot find -lOpenSSL::Crypto
collect2: error: ld returned 1 exit status
src/cpp/CMakeFiles/fastrtps.dir/build.make:4047: recipe for target 'src/cpp/libfastrtps.so.1.8.2' failed
make[2]: *** [src/cpp/libfastrtps.so.1.8.2] Error 1
CMakeFiles/Makefile2:1054: recipe for target 'src/cpp/CMakeFiles/fastrtps.dir/all' failed
make[1]: *** [src/cpp/CMakeFiles/fastrtps.dir/all] Error 2
Makefile:160: recipe for target 'all' failed
make: *** [all] Error 2

Openssl exists on my system, OpenSSL 1.1.1 11 Sep 2018

here is the /build/Makefile sharetext.me/tcyloqfhym

here is the complete terminal output sharetext.me/dbhgkm9lmj