Revert "package/rtty: remove unnecessary cmake options"
authorThomas Petazzoni <thomas.petazzoni@bootlin.com>
Sun, 29 Mar 2020 19:59:24 +0000 (21:59 +0200)
committerThomas Petazzoni <thomas.petazzoni@bootlin.com>
Sun, 29 Mar 2020 19:59:24 +0000 (21:59 +0200)
commit0f1ea7dc752a417560510d5314ebc04f66bf6445
tree79fcd759f572e1fe48f466d442b944eddcf706d2
parent131216123bb5ed13ec44696b2c78d22669c87552
Revert "package/rtty: remove unnecessary cmake options"

This reverts commit 7f169e6bc3812d7f9160449d7724711e4df7e39e.

As pointed out by Yann E. Morin, we really want to explicitly disable
crypto backends, otherwise they will get automatically re-enabled if
one of the dependencies is found:

    elseif(OPENSSL_FOUND)
        set(RTTY_USE_OPENSSL ON)
    elseif(WOLFSSL_FOUND)
        set(RTTY_USE_WOLFSSL ON)
    elseif(MBEDTLS_FOUND)
        set(RTTY_USE_MBEDTLS ON)

But as usual, dependencies may incorrectly be found, so we want to
explicitly disable.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
package/rtty/rtty.mk