Skip to content

Commit

Permalink
update xpdf
Browse files Browse the repository at this point in the history
  • Loading branch information
lfoppiano committed Dec 25, 2024
1 parent fc663c9 commit 8253e0c
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
7 changes: 5 additions & 2 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -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
Expand All @@ -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)

Expand Down
1 change: 1 addition & 0 deletions xpdf-4.05
Submodule xpdf-4.05 added at 218253

0 comments on commit 8253e0c

Please sign in to comment.