mirror of
https://github.com/pdf2htmlEX/pdf2htmlEX.git
synced 2024-12-21 20:50:07 +00:00
Add patch to CI so we can use include files outside the system include directory
This commit is contained in:
parent
25d8ba8b9a
commit
bfcbcaeb16
@ -121,7 +121,7 @@ before_install:
|
||||
before_script:
|
||||
- export LD_LIBRARY_PATH=${TRAVIS_BUILD_DIR}/usr/lib:$LD_LIBRARY_PATH
|
||||
- export PKG_CONFIG_PATH=${TRAVIS_BUILD_DIR}/usr/lib/pkgconfig:$PKG_CONFIG_PATH
|
||||
- cat ${TRAVIS_BUILD_DIR}/usr/lib/pkgconfig/poppler.pc
|
||||
- patch < CMakeLists.txt.patch
|
||||
- mkdir build && cd build && cmake -DENABLE_SVG=ON -DCMAKE_INSTALL_PREFIX=${TRAVIS_BUILD_DIR}/usr ..
|
||||
|
||||
script:
|
||||
|
12
CMakeLists.txt.patch
Normal file
12
CMakeLists.txt.patch
Normal file
@ -0,0 +1,12 @@
|
||||
diff --git a/CMakeLists.txt b/CMakeLists.txt
|
||||
index 135e02f..97c7035 100644
|
||||
--- a/CMakeLists.txt
|
||||
+++ b/CMakeLists.txt
|
||||
@@ -7,6 +7,7 @@ cmake_minimum_required(VERSION 2.6.0 FATAL_ERROR)
|
||||
|
||||
option(ENABLE_SVG "Enable SVG support, for generating SVG background images and converting Type 3 fonts" ON)
|
||||
|
||||
+include_directories(${CMAKE_INSTALL_PREFIX}/include)
|
||||
include_directories(${CMAKE_SOURCE_DIR}/src)
|
||||
|
||||
set(PDF2HTMLEX_VERSION "0.15.0")
|
Loading…
Reference in New Issue
Block a user