50092c
--- poppler-0.90.0/CMakeLists.txt
50092c
+++ poppler-0.90.0/CMakeLists.txt
50092c
@@ -17,6 +17,9 @@ else()
50092c
   set(THREADS_PREFER_PTHREAD_FLAG TRUE)
50092c
   find_package(Threads)
50092c
 endif()
50092c
+
50092c
+set(CMAKE_POSITION_INDEPENDENT_CODE ON)
50092c
+
50092c
 include(TestBigEndian)
50092c
 test_big_endian(WORDS_BIGENDIAN)
50092c
 include(CheckFileOffsetBits)