mirror of
https://github.com/warmcat/libwebsockets.git
synced 2025-03-16 00:00:07 +01:00
cmake: dont build ssh stuff if no SSL enabled
This commit is contained in:
parent
66916394ed
commit
53bbc6be33
1 changed files with 2 additions and 1 deletions
|
@ -1687,12 +1687,13 @@ if (NOT LWS_WITHOUT_TESTAPPS)
|
|||
"plugins/protocol_post_demo.c" "" "")
|
||||
create_plugin(protocol_lws_table_dirlisting ""
|
||||
"plugins/generic-table/protocol_table_dirlisting.c" "" "")
|
||||
if (LWS_WITH_SSL)
|
||||
create_plugin(protocol_lws_ssh_base "plugins/ssh-base/include"
|
||||
"plugins/ssh-base/sshd.c;plugins/ssh-base/telnet.c;plugins/ssh-base/kex-25519.c" "plugins/ssh-base/crypto/chacha.c;plugins/ssh-base/crypto/ed25519.c;plugins/ssh-base/crypto/fe25519.c;plugins/ssh-base/crypto/ge25519.c;plugins/ssh-base/crypto/poly1305.c;plugins/ssh-base/crypto/sc25519.c;plugins/ssh-base/crypto/smult_curve25519_ref.c" "")
|
||||
create_plugin(protocol_lws_sshd_demo "plugins/ssh-base/include" "plugins/protocol_lws_sshd_demo.c" "" "")
|
||||
|
||||
|
||||
include_directories("${PROJECT_SOURCE_DIR}/plugins/ssh-base/include")
|
||||
endif()
|
||||
|
||||
if (NOT WIN32)
|
||||
create_plugin(protocol_lws_raw_test ""
|
||||
|
|
Loading…
Add table
Reference in a new issue