updated on Mon Jan 16 04:00:32 UTC 2012
[aur-mirror.git] / poppler-qt-lcd / 0004-Don-t-build-the-main-poppler-library.patch
blobadbbbe2f0850ea8e38f5a490944af86f10860da8
1 From 007d926cd74f34b381792f099fc9f0d178ddfacd Mon Sep 17 00:00:00 2001
2 From: Paul Gideon Dann <pdgiddie@gmail.com>
3 Date: Tue, 20 Oct 2009 18:32:35 +0100
4 Subject: [PATCH 4/4] Don't build the main poppler library.
6 ---
7 CMakeLists.txt | 12 ------------
8 1 files changed, 0 insertions(+), 12 deletions(-)
10 diff --git a/CMakeLists.txt b/CMakeLists.txt
11 index 38db6c2..bcc33a8 100644
12 --- a/CMakeLists.txt
13 +++ b/CMakeLists.txt
14 @@ -345,18 +345,6 @@ if(TIFF_FOUND)
15 set(poppler_LIBS ${poppler_LIBS} ${TIFF_LIBRARIES})
16 endif(TIFF_FOUND)
18 -if(MSVC)
19 -add_definitions(-D_CRT_SECURE_NO_WARNINGS)
20 -set(CMAKE_CXX_FLAGS "/Zc:wchar_t- ${CMAKE_CXX_FLAGS}")
21 -add_library(poppler STATIC ${poppler_SRCS})
22 -else(MSVC)
23 -add_library(poppler SHARED ${poppler_SRCS})
24 -endif(MSVC)
25 -set_target_properties(poppler PROPERTIES VERSION 19.0.0 SOVERSION 19)
26 -target_link_libraries(poppler ${poppler_LIBS})
27 -target_link_libraries(poppler LINK_INTERFACE_LIBRARIES "")
28 -install(TARGETS poppler RUNTIME DESTINATION bin LIBRARY DESTINATION lib${LIB_SUFFIX} ARCHIVE DESTINATION lib${LIB_SUFFIX})
30 if(ENABLE_XPDF_HEADERS)
31 install(FILES
32 poppler/Annot.h
33 --
34 1.7.8