cmake force internal SHA1 if no ssl
authorAndy Green <andy.green@linaro.org>
Sun, 8 Nov 2015 20:24:46 +0000 (04:24 +0800)
committerAndy Green <andy.green@linaro.org>
Sun, 8 Nov 2015 20:24:46 +0000 (04:24 +0800)
commit9ffb42efec855b36a67a186fab6650e5df7f3f94
tree03ef0e68c840a48b545cf8b252435e022c051465
parent6e405565f52895bf5ec214a1236a8f6a430e3bdb
cmake force internal SHA1 if no ssl

https://github.com/warmcat/libwebsockets/issues/342

You have to explicitly disable LWS_WITHOUT_BUILTIN_SHA1 Cmake option
alomg with SSL to disable SSL

cmake .. -DLWS_WITH_SSL=OFF -DLWS_WITHOUT_BUILTIN_SHA1=OFF

This makes that implicit with disabling SSL.

Signed-off-by: Andy Green <andy.green@linaro.org>
CMakeLists.txt