package/rabbitmq-c: drop cmake workaround
authorFabrice Fontaine <fontaine.fabrice@gmail.com>
Mon, 25 Jan 2021 21:48:12 +0000 (22:48 +0100)
committerYann E. MORIN <yann.morin.1998@free.fr>
Tue, 26 Jan 2021 16:35:04 +0000 (17:35 +0100)
Drop workaround for cmake < 3.10 (not needed since commit
d4773b610a40be1d3ac7d793033abaf4eb2491ed)

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
package/rabbitmq-c/rabbitmq-c.mk

index e059ff706c19ae8ea3b5d215e9d652dc0a7c9159..d25673b59ba90c5015b6b057ae16997e20b25dd0 100644 (file)
@@ -13,11 +13,6 @@ RABBITMQ_C_CONF_OPTS = \
        -DBUILD_API_DOCS=OFF \
        -DBUILD_TOOLS_DOCS=OFF
 
-# Before CMake 3.10, passing THREADS_PTHREAD_ARG=OFF was needed to
-# disable a try_run() call in the FindThreads tests, which caused a
-# build failure when cross-compiling.
-RABBITMQ_C_CONF_OPTS += -DTHREADS_PTHREAD_ARG=OFF
-
 # BUILD_SHARED_LIBS is handled in pkg-cmake.mk as it is a generic cmake variable
 ifeq ($(BR2_SHARED_STATIC_LIBS),y)
 RABBITMQ_C_CONF_OPTS += -DBUILD_STATIC_LIBS=ON