blob: 30f0f129a43c8422754599f0e01f2aa6696b6fbf (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
|
From 64a87f3f7f8058fa386a9a7becc8b6c522d5f3a9 Mon Sep 17 00:00:00 2001
From: Paul Gideon Dann <pdgiddie@gmail.com>
Date: Tue, 20 Oct 2009 18:32:35 +0100
Subject: [PATCH 5/5] Don't build the main poppler library.
---
CMakeLists.txt | 11 -----------
1 file changed, 11 deletions(-)
diff --git a/CMakeLists.txt b/CMakeLists.txt
index a79db356..7d1fe48e 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -530,17 +530,6 @@ if(HAVE_PTHREAD)
set(poppler_LIBS ${poppler_LIBS} ${CMAKE_THREAD_LIBS_INIT})
endif()
-if(MSVC)
-add_definitions(-D_CRT_SECURE_NO_WARNINGS)
-set(CMAKE_CXX_FLAGS "/Zc:wchar_t- ${CMAKE_CXX_FLAGS}")
-add_library(poppler STATIC ${poppler_SRCS})
-else(MSVC)
-add_library(poppler SHARED ${poppler_SRCS})
-endif(MSVC)
-set_target_properties(poppler PROPERTIES VERSION 67.0.0 SOVERSION 67)
-target_link_libraries(poppler LINK_PRIVATE ${poppler_LIBS})
-install(TARGETS poppler RUNTIME DESTINATION bin LIBRARY DESTINATION lib${LIB_SUFFIX} ARCHIVE DESTINATION lib${LIB_SUFFIX})
-
if(ENABLE_XPDF_HEADERS)
install(FILES
poppler/Annot.h
--
2.13.1
|