How to build cmake with SSL support?

OS: MXLinux 21 x64 (based on Debian 11)
I try to Install neovim from source (cause want to neovim 5.1, while default is 4.4)
I do everything according to the manual “Building Neovim”:

$ gcc --version
gcc (Debian 10.2.1-6) 10.2.1 20210110

$ cmake --version
cmake version 3.18.4

But it seems that my cmake doesn’t support the SSL, couse when I try this

$ sudo apt-get install ninja-build gettext libtool libtool-bin autoconf automake cmake g++ pkg-config unzip curl doxygen
$ git clone https://github.com/neovim/neovim
$ cd neovim && make -j4

I get an error executing “make -j4”:

Summary
$ sudo make -j4
mkdir -p build
touch build/.ran-third-party-cmake
ninja -j4 -C .deps
ninja: Entering directory `.deps'
[3/3] cd /home/Dweller/neovim/.deps && /usr/bin/cmake -E touch .third-party
ninja -j4 -C build
ninja: Entering directory `build'
[2/6] Linking C executable bin/nvim
FAILED: bin/nvim 
: && /usr/bin/cc -DNVIM_TS_HAS_SET_MATCH_LIMIT -g -Wl,--no-undefined   -Wl,--export-dynamic -rdynamic src/nvim/CMakeFiles/nvim.dir/auto/msgpack_lua_c_bindings.generated.c.o src/nvim/CMakeFiles/nvim.dir/__/__/config/auto/pathdef.c.o src/nvim/CMakeFiles/nvim.dir/api/buffer.c.o src/nvim/CMakeFiles/nvim.dir/api/deprecated.c.o src/nvim/CMakeFiles/nvim.dir/api/private/dispatch.c.o src/nvim/CMakeFiles/nvim.dir/api/private/handle.c.o src/nvim/CMakeFiles/nvim.dir/api/private/helpers.c.o src/nvim/CMakeFiles/nvim.dir/api/tabpage.c.o src/nvim/CMakeFiles/nvim.dir/api/ui.c.o src/nvim/CMakeFiles/nvim.dir/api/vim.c.o src/nvim/CMakeFiles/nvim.dir/api/window.c.o src/nvim/CMakeFiles/nvim.dir/arabic.c.o src/nvim/CMakeFiles/nvim.dir/aucmd.c.o src/nvim/CMakeFiles/nvim.dir/autocmd.c.o src/nvim/CMakeFiles/nvim.dir/buffer.c.o src/nvim/CMakeFiles/nvim.dir/buffer_updates.c.o src/nvim/CMakeFiles/nvim.dir/change.c.o src/nvim/CMakeFiles/nvim.dir/channel.c.o src/nvim/CMakeFiles/nvim.dir/charset.c.o src/nvim/CMakeFiles/nvim.dir/context.c.o src/nvim/CMakeFiles/nvim.dir/cursor.c.o src/nvim/CMakeFiles/nvim.dir/cursor_shape.c.o src/nvim/CMakeFiles/nvim.dir/decoration.c.o src/nvim/CMakeFiles/nvim.dir/diff.c.o src/nvim/CMakeFiles/nvim.dir/digraph.c.o src/nvim/CMakeFiles/nvim.dir/edit.c.o src/nvim/CMakeFiles/nvim.dir/eval.c.o src/nvim/CMakeFiles/nvim.dir/eval/decode.c.o src/nvim/CMakeFiles/nvim.dir/eval/encode.c.o src/nvim/CMakeFiles/nvim.dir/eval/executor.c.o src/nvim/CMakeFiles/nvim.dir/eval/funcs.c.o src/nvim/CMakeFiles/nvim.dir/eval/gc.c.o src/nvim/CMakeFiles/nvim.dir/eval/typval.c.o src/nvim/CMakeFiles/nvim.dir/eval/userfunc.c.o src/nvim/CMakeFiles/nvim.dir/event/libuv_process.c.o src/nvim/CMakeFiles/nvim.dir/event/loop.c.o src/nvim/CMakeFiles/nvim.dir/event/multiqueue.c.o src/nvim/CMakeFiles/nvim.dir/event/process.c.o src/nvim/CMakeFiles/nvim.dir/event/rstream.c.o src/nvim/CMakeFiles/nvim.dir/event/signal.c.o src/nvim/CMakeFiles/nvim.dir/event/socket.c.o src/nvim/CMakeFiles/nvim.dir/event/stream.c.o src/nvim/CMakeFiles/nvim.dir/event/time.c.o src/nvim/CMakeFiles/nvim.dir/event/wstream.c.o src/nvim/CMakeFiles/nvim.dir/ex_cmds.c.o src/nvim/CMakeFiles/nvim.dir/ex_cmds2.c.o src/nvim/CMakeFiles/nvim.dir/ex_docmd.c.o src/nvim/CMakeFiles/nvim.dir/ex_eval.c.o src/nvim/CMakeFiles/nvim.dir/ex_getln.c.o src/nvim/CMakeFiles/nvim.dir/ex_session.c.o src/nvim/CMakeFiles/nvim.dir/extmark.c.o src/nvim/CMakeFiles/nvim.dir/file_search.c.o src/nvim/CMakeFiles/nvim.dir/fileio.c.o src/nvim/CMakeFiles/nvim.dir/fold.c.o src/nvim/CMakeFiles/nvim.dir/garray.c.o src/nvim/CMakeFiles/nvim.dir/getchar.c.o src/nvim/CMakeFiles/nvim.dir/hardcopy.c.o src/nvim/CMakeFiles/nvim.dir/hashtab.c.o src/nvim/CMakeFiles/nvim.dir/highlight.c.o src/nvim/CMakeFiles/nvim.dir/if_cscope.c.o src/nvim/CMakeFiles/nvim.dir/indent.c.o src/nvim/CMakeFiles/nvim.dir/indent_c.c.o src/nvim/CMakeFiles/nvim.dir/keymap.c.o src/nvim/CMakeFiles/nvim.dir/log.c.o src/nvim/CMakeFiles/nvim.dir/lua/converter.c.o src/nvim/CMakeFiles/nvim.dir/lua/executor.c.o src/nvim/CMakeFiles/nvim.dir/lua/treesitter.c.o src/nvim/CMakeFiles/nvim.dir/main.c.o src/nvim/CMakeFiles/nvim.dir/map.c.o src/nvim/CMakeFiles/nvim.dir/mark.c.o src/nvim/CMakeFiles/nvim.dir/marktree.c.o src/nvim/CMakeFiles/nvim.dir/math.c.o src/nvim/CMakeFiles/nvim.dir/mbyte.c.o src/nvim/CMakeFiles/nvim.dir/memfile.c.o src/nvim/CMakeFiles/nvim.dir/memline.c.o src/nvim/CMakeFiles/nvim.dir/memory.c.o src/nvim/CMakeFiles/nvim.dir/menu.c.o src/nvim/CMakeFiles/nvim.dir/message.c.o src/nvim/CMakeFiles/nvim.dir/misc1.c.o src/nvim/CMakeFiles/nvim.dir/mouse.c.o src/nvim/CMakeFiles/nvim.dir/move.c.o src/nvim/CMakeFiles/nvim.dir/msgpack_rpc/channel.c.o src/nvim/CMakeFiles/nvim.dir/msgpack_rpc/helpers.c.o src/nvim/CMakeFiles/nvim.dir/msgpack_rpc/server.c.o src/nvim/CMakeFiles/nvim.dir/normal.c.o src/nvim/CMakeFiles/nvim.dir/ops.c.o src/nvim/CMakeFiles/nvim.dir/option.c.o src/nvim/CMakeFiles/nvim.dir/os/dl.c.o src/nvim/CMakeFiles/nvim.dir/os/env.c.o src/nvim/CMakeFiles/nvim.dir/os/fileio.c.o src/nvim/CMakeFiles/nvim.dir/os/fs.c.o src/nvim/CMakeFiles/nvim.dir/os/input.c.o src/nvim/CMakeFiles/nvim.dir/os/lang.c.o src/nvim/CMakeFiles/nvim.dir/os/mem.c.o src/nvim/CMakeFiles/nvim.dir/os/process.c.o src/nvim/CMakeFiles/nvim.dir/os/pty_process_unix.c.o src/nvim/CMakeFiles/nvim.dir/os/shell.c.o src/nvim/CMakeFiles/nvim.dir/os/signal.c.o src/nvim/CMakeFiles/nvim.dir/os/stdpaths.c.o src/nvim/CMakeFiles/nvim.dir/os/time.c.o src/nvim/CMakeFiles/nvim.dir/os/tty.c.o src/nvim/CMakeFiles/nvim.dir/os/users.c.o src/nvim/CMakeFiles/nvim.dir/os_unix.c.o src/nvim/CMakeFiles/nvim.dir/path.c.o src/nvim/CMakeFiles/nvim.dir/popupmnu.c.o src/nvim/CMakeFiles/nvim.dir/profile.c.o src/nvim/CMakeFiles/nvim.dir/quickfix.c.o src/nvim/CMakeFiles/nvim.dir/rbuffer.c.o src/nvim/CMakeFiles/nvim.dir/regexp.c.o src/nvim/CMakeFiles/nvim.dir/runtime.c.o src/nvim/CMakeFiles/nvim.dir/screen.c.o src/nvim/CMakeFiles/nvim.dir/search.c.o src/nvim/CMakeFiles/nvim.dir/sha256.c.o src/nvim/CMakeFiles/nvim.dir/shada.c.o src/nvim/CMakeFiles/nvim.dir/sign.c.o src/nvim/CMakeFiles/nvim.dir/spell.c.o src/nvim/CMakeFiles/nvim.dir/spellfile.c.o src/nvim/CMakeFiles/nvim.dir/state.c.o src/nvim/CMakeFiles/nvim.dir/strings.c.o src/nvim/CMakeFiles/nvim.dir/syntax.c.o src/nvim/CMakeFiles/nvim.dir/tag.c.o src/nvim/CMakeFiles/nvim.dir/terminal.c.o src/nvim/CMakeFiles/nvim.dir/tui/input.c.o src/nvim/CMakeFiles/nvim.dir/tui/terminfo.c.o src/nvim/CMakeFiles/nvim.dir/tui/tui.c.o src/nvim/CMakeFiles/nvim.dir/ugrid.c.o src/nvim/CMakeFiles/nvim.dir/ui.c.o src/nvim/CMakeFiles/nvim.dir/ui_bridge.c.o src/nvim/CMakeFiles/nvim.dir/ui_compositor.c.o src/nvim/CMakeFiles/nvim.dir/undo.c.o src/nvim/CMakeFiles/nvim.dir/version.c.o src/nvim/CMakeFiles/nvim.dir/viml/parser/expressions.c.o src/nvim/CMakeFiles/nvim.dir/viml/parser/parser.c.o src/nvim/CMakeFiles/nvim.dir/window.c.o src/nvim/CMakeFiles/nvim.dir/xdiff/xdiffi.c.o src/nvim/CMakeFiles/nvim.dir/xdiff/xemit.c.o src/nvim/CMakeFiles/nvim.dir/xdiff/xhistogram.c.o src/nvim/CMakeFiles/nvim.dir/xdiff/xpatience.c.o src/nvim/CMakeFiles/nvim.dir/xdiff/xprepare.c.o src/nvim/CMakeFiles/nvim.dir/xdiff/xutils.c.o -o bin/nvim  -fstack-protector-strong  ../.deps/usr/lib/libluv_a.a  ../.deps/usr/lib/libuv.a  -ldl  -ldl  -lnsl  -lrt  ../.deps/usr/lib/libmsgpackc.a  ../.deps/usr/lib/libvterm.a  ../.deps/usr/lib/libtermkey.a  ../.deps/usr/lib/libunibilium.a  ../.deps/usr/lib/libtree-sitter.a  -lpthread  -lm  -lutil  ../.deps/usr/lib/libluajit-5.1.a && :
/usr/bin/ld: ../.deps/usr/lib/libluv_a.a(luv.c.o): in function `luv_udp_alloc_cb':
luv.c:(.text+0x195e): undefined reference to `uv_udp_using_recvmmsg'
/usr/bin/ld: ../.deps/usr/lib/libluv_a.a(luv.c.o): in function `luv_timer_get_due_in':
luv.c:(.text+0x33e1): undefined reference to `uv_timer_get_due_in'
/usr/bin/ld: ../.deps/usr/lib/libluv_a.a(luv.c.o): in function `luv_try_write2':
luv.c:(.text+0x8774): undefined reference to `uv_try_write2'
/usr/bin/ld: ../.deps/usr/lib/libluv_a.a(luv.c.o): in function `luv_pipe':
luv.c:(.text+0xb8cd): undefined reference to `uv_pipe'
/usr/bin/ld: ../.deps/usr/lib/libluv_a.a(luv.c.o): in function `luv_socketpair':
luv.c:(.text+0xd37b): undefined reference to `uv_socketpair'
/usr/bin/ld: ../.deps/usr/lib/libluv_a.a(luv.c.o): in function `luv_fs_lutime':
luv.c:(.text+0x12f80): undefined reference to `uv_fs_lutime'
/usr/bin/ld: luv.c:(.text+0x12fe1): undefined reference to `uv_fs_lutime'
/usr/bin/ld: ../.deps/usr/lib/libluv_a.a(luv.c.o): in function `luv_metrics_idle_time':
luv.c:(.text+0x1c3ed): undefined reference to `uv_metrics_idle_time'
collect2: error: ld returned 1 exit status
ninja: build stopped: subcommand failed.
make: *** [Makefile:90: nvim] Error 1

The manual (and anyone in the internet) says that I should use

cd cmake-2.8.12.2
./bootstrap --prefix=$HOME/.local -- -DCMAKE_USE_OPENSSL=ON
make
make install

I found every directory with “cmake”-part in name and tried this, but it just says

bash: ./bootstrap: No such file or directory

Don’t understand. Seems to be easy, but I can’t figure it out. Please, help.