package/libssh: drop cmake workaround
authorFabrice Fontaine <fontaine.fabrice@gmail.com>
Mon, 4 Jan 2021 17:12:31 +0000 (18:12 +0100)
committerThomas Petazzoni <thomas.petazzoni@bootlin.com>
Mon, 25 Jan 2021 21:38:52 +0000 (22:38 +0100)
Drop workaround for cmake < 3.10 (not needed since commit
d4773b610a40be1d3ac7d793033abaf4eb2491ed)

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
package/libssh/libssh.mk

index c8cb821616f6c298a2b15c282a8ddbf5354b9d13..eeb5d8489a900ee2407eca2b4a1d0f8309c24fdb 100644 (file)
@@ -17,9 +17,6 @@ LIBSSH_CONF_OPTS = \
        -DWITH_STACK_PROTECTOR=OFF \
        -DWITH_EXAMPLES=OFF
 
-# cmake older than 3.10 require this to avoid try_run() in FindThreads
-LIBSSH_CONF_OPTS += -DTHREADS_PTHREAD_ARG=OFF
-
 ifeq ($(BR2_PACKAGE_LIBSSH_SERVER),y)
 LIBSSH_CONF_OPTS += -DWITH_SERVER=ON
 else