You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

13 lines
660 B

diff -uNr poppler-0.84.0/CMakeLists.txt poppler-0.84.0.mod/CMakeLists.txt
--- poppler-0.84.0/CMakeLists.txt 2019-12-28 14:18:51.000000000 +0200
+++ poppler-0.84.0.mod/CMakeLists.txt 2020-01-11 21:36:13.130975793 +0200
@@ -315,6 +315,9 @@
set(CMAKE_CXX_FLAGS "${DEFAULT_COMPILE_WARNINGS} ${CMAKE_CXX_FLAGS}")
endif()
+set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -I@TERMUX_PREFIX@/include")
+set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -I@TERMUX_PREFIX@/include")
+
include(ConfigureChecks.cmake)
configure_file(config.h.cmake ${CMAKE_CURRENT_BINARY_DIR}/config.h)
configure_file(poppler/poppler-config.h.cmake ${CMAKE_CURRENT_BINARY_DIR}/poppler/poppler-config.h)