From 837e3704e76ea857b3de45503840e9b855096fef Mon Sep 17 00:00:00 2001 From: Albert Astals Cid Date: Sat, 6 Apr 2013 17:01:08 +0200 Subject: Make our mutexes recursive Fixes a deadlock problem found with a pdf i can't share (411klaralv.pdf) Reviewed by Thomas and Adam on the mailing list --- utils/CMakeLists.txt | 3 +++ 1 file changed, 3 insertions(+) (limited to 'utils') diff --git a/utils/CMakeLists.txt b/utils/CMakeLists.txt index 06378bd9..609f7ede 100644 --- a/utils/CMakeLists.txt +++ b/utils/CMakeLists.txt @@ -36,6 +36,9 @@ if (HAVE_CAIRO) if(LCMS_FOUND) target_link_libraries(pdftocairo ${LCMS_LIBRARIES}) endif(LCMS_FOUND) + if(HAVE_PTHREAD) + target_link_libraries(pdftocairo -lpthread) + endif() if(LCMS2_FOUND) target_link_libraries(pdftocairo ${LCMS2_LIBRARIES}) endif(LCMS2_FOUND) -- cgit v1.2.3