From 8253e0cadabfedecd86ceb9a090f8ccf6206e517 Mon Sep 17 00:00:00 2001 From: Luca Foppiano Date: Wed, 25 Dec 2024 22:17:24 +0100 Subject: [PATCH] update xpdf --- CMakeLists.txt | 7 +++++-- xpdf-4.05 | 1 + 2 files changed, 6 insertions(+), 2 deletions(-) create mode 160000 xpdf-4.05 diff --git a/CMakeLists.txt b/CMakeLists.txt index e444d33..cfc0f70 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -1,10 +1,13 @@ -cmake_minimum_required(VERSION 3.5+) +cmake_minimum_required(VERSION 3.10) project(pdfalto) set(CMAKE_CXX_STANDARD 11) set(CMAKE_EXE_LINKER_FLAGS "-no-pie") set(CMAKE_BUILD_TYPE "Release") +# Set the SDK path +set(CMAKE_OSX_SYSROOT /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk) + #--- look for fontconfig if (NOT NO_FONTCONFIG) find_library(FONTCONFIG_LIBRARY @@ -24,7 +27,7 @@ else () endif () #build xpdf -set ( XPDF_SUBDIR ${CMAKE_CURRENT_SOURCE_DIR}/xpdf-4.03) +set ( XPDF_SUBDIR ${CMAKE_CURRENT_SOURCE_DIR}/xpdf-4.05) set ( IMAGE_SUBDIR ${CMAKE_CURRENT_SOURCE_DIR}/libs/image) diff --git a/xpdf-4.05 b/xpdf-4.05 new file mode 160000 index 0000000..2182533 --- /dev/null +++ b/xpdf-4.05 @@ -0,0 +1 @@ +Subproject commit 21825336488b34bb13bc2db75a935b9ef291644c