void-packages/srcpkgs/poppler/patches/cmake.patch
Michael Gehring 796132fd5c poppler: update to 0.60.1. (soname bump)
build switched to cmake
2017-10-07 04:51:52 +00:00

11 lines
339 B
Diff

--- CMakeLists.txt.orig 2017-10-05 08:11:45.375039727 +0000
+++ CMakeLists.txt 2017-10-05 08:12:51.950043161 +0000
@@ -4,6 +4,8 @@
set(CMAKE_MODULE_PATH ${CMAKE_SOURCE_DIR}/cmake/modules)
+set(CMAKE_REQUIRED_FLAGS "-fPIC ${CMAKE_REQUIRED_FLAGS}")
+
include(PopplerDefaults)
include(PopplerMacros)
include(MacroOptionalFindPackage)