summaryrefslogtreecommitdiff
path: root/editors/Sigil/patches/patch-src_XercesExtensions_CMakeLists.txt
diff options
context:
space:
mode:
Diffstat (limited to 'editors/Sigil/patches/patch-src_XercesExtensions_CMakeLists.txt')
-rw-r--r--editors/Sigil/patches/patch-src_XercesExtensions_CMakeLists.txt33
1 files changed, 0 insertions, 33 deletions
diff --git a/editors/Sigil/patches/patch-src_XercesExtensions_CMakeLists.txt b/editors/Sigil/patches/patch-src_XercesExtensions_CMakeLists.txt
deleted file mode 100644
index 4b0acedd50c..00000000000
--- a/editors/Sigil/patches/patch-src_XercesExtensions_CMakeLists.txt
+++ /dev/null
@@ -1,33 +0,0 @@
-$NetBSD: patch-src_XercesExtensions_CMakeLists.txt,v 1.1 2012/01/26 15:43:20 ryoon Exp $
-
-http://code.google.com/p/sigil/source/detail?r=ac1642d3df17ee958ab573e1cdb284d60bad6f9a
-
---- src/XercesExtensions/CMakeLists.txt.orig 2012-01-21 00:31:22.000000000 +0000
-+++ src/XercesExtensions/CMakeLists.txt
-@@ -16,14 +16,14 @@ file( GLOB SOURCES *.cpp *.h )
- # We need to pick up the stdafx.h file
- # and the headers for the linked-to libraries
- include_directories( ${CMAKE_CURRENT_SOURCE_DIR}
-- ../Xerces
-- ../BoostParts )
-+ ${XERCES_INCLUDE_DIRS}
-+ ${BOOST_INCLUDE_DIRS} )
-
- link_directories ( ${PROJECT_BINARY_DIR}/lib )
-
- add_library( ${PROJECT_NAME} ${SOURCES} )
-
--target_link_libraries( ${PROJECT_NAME} Xerces )
-+target_link_libraries( ${PROJECT_NAME} ${XERCES_LIBRARIES} )
-
- #############################################################################
-
-@@ -49,5 +49,7 @@ elseif( CMAKE_COMPILER_IS_GNUCXX )
- endif()
-
- # needed for correct Xerces header inclusion
--add_definitions( -DXERCES_STATIC_LIBRARY )
-+if( FORCE_BUNDLED_COPIES OR NOT XERCES_FOUND)
-+ add_definitions( -DXERCES_STATIC_LIBRARY )
-+endif()
-