aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>2019-06-09 01:44:24 +0200
committerGravatar Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>2019-06-09 01:44:24 +0200
commit589bc51d7cfa20af87b8e7bea854ed59a587b309 (patch)
treed0190d4f858d6c61424a49c7e48467984c85cddb
parent571f692631ecdf041ea7efdd306a1c37d16d571b (diff)
downloadbuildroot-589bc51d7cfa20af87b8e7bea854ed59a587b309.tar.gz
buildroot-589bc51d7cfa20af87b8e7bea854ed59a587b309.tar.bz2
package/poppler: use THREAD_PTHREAD_ARG=OFF
As noted by Fabrice, all other packages that show CMake's FindThreads issue fix it by setting THREAD_PTHREAD_ARG=OFF instead of setting THREAD_HAVE_PTHREAD_ARG=ON. So, for consistency, do the same for poppler. Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
-rw-r--r--package/poppler/poppler.mk2
1 files changed, 1 insertions, 1 deletions
diff --git a/package/poppler/poppler.mk b/package/poppler/poppler.mk
index ebb918de03..ffa65f68ce 100644
--- a/package/poppler/poppler.mk
+++ b/package/poppler/poppler.mk
@@ -21,7 +21,7 @@ POPPLER_CONF_OPTS = \
-DENABLE_GTK_DOC=OFF
# cmake older than 3.10 requires this to avoid try_run() in FindThreads
-POPPLER_CONF_OPTS += -DTHREADS_HAVE_PTHREAD_ARG=ON
+POPPLER_CONF_OPTS += -DTHREADS_PTHREAD_ARG=OFF
ifeq ($(BR2_TOOLCHAIN_HAS_LIBATOMIC),y)
POPPLER_CONF_OPTS += -DCMAKE_CXX_FLAGS="$(TARGET_CXXFLAGS) -latomic"