1ef95951ba
Compile poppler with position independent code turned on. Otherwise it doesn't build on Fedora 33. Resolves: #1673727
13 lines
301 B
Diff
13 lines
301 B
Diff
--- poppler-0.90.0/CMakeLists.txt
|
|
+++ poppler-0.90.0/CMakeLists.txt
|
|
@@ -17,6 +17,9 @@ else()
|
|
set(THREADS_PREFER_PTHREAD_FLAG TRUE)
|
|
find_package(Threads)
|
|
endif()
|
|
+
|
|
+set(CMAKE_POSITION_INDEPENDENT_CODE ON)
|
|
+
|
|
include(TestBigEndian)
|
|
test_big_endian(WORDS_BIGENDIAN)
|
|
include(CheckFileOffsetBits)
|