package/poppler: drop cmake workaround
authorFabrice Fontaine <fontaine.fabrice@gmail.com>
Mon, 25 Jan 2021 21:48:14 +0000 (22:48 +0100)
committerYann E. MORIN <yann.morin.1998@free.fr>
Tue, 26 Jan 2021 16:35:06 +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/poppler/poppler.mk

index e779a7c9d3b90e32fdac265d68ef9b2e22efdcf9..aba8602e0699f86a3e77140602dfba5d52b21122 100644 (file)
@@ -19,9 +19,6 @@ POPPLER_CONF_OPTS = \
        -DBUILD_CPP_TESTS=OFF \
        -DENABLE_GTK_DOC=OFF
 
-# cmake older than 3.10 requires this to avoid try_run() in FindThreads
-POPPLER_CONF_OPTS += -DTHREADS_PTHREAD_ARG=OFF
-
 ifeq ($(BR2_TOOLCHAIN_HAS_LIBATOMIC),y)
 POPPLER_CONF_OPTS += -DCMAKE_CXX_FLAGS="$(TARGET_CXXFLAGS) -latomic"
 endif