aboutsummaryrefslogtreecommitdiff
path: root/editors/calligra/files/patch-cmake__modules__FindWPG.cmake
diff options
context:
space:
mode:
Diffstat (limited to 'editors/calligra/files/patch-cmake__modules__FindWPG.cmake')
-rw-r--r--editors/calligra/files/patch-cmake__modules__FindWPG.cmake12
1 files changed, 4 insertions, 8 deletions
diff --git a/editors/calligra/files/patch-cmake__modules__FindWPG.cmake b/editors/calligra/files/patch-cmake__modules__FindWPG.cmake
index 6fea1669f8d5..fe0baab4eb6f 100644
--- a/editors/calligra/files/patch-cmake__modules__FindWPG.cmake
+++ b/editors/calligra/files/patch-cmake__modules__FindWPG.cmake
@@ -1,15 +1,11 @@
--- ./cmake/modules/FindWPG.cmake.orig 2010-03-30 00:05:52.000000000 +1100
+++ ./cmake/modules/FindWPG.cmake 2010-03-30 13:07:46.392743489 +1100
-@@ -22,10 +22,10 @@
- SET(LIBWPG_DEFINITIONS ${_LibWpgCflags})
- ENDIF (NOT WIN32)
-
-- FIND_PATH(LIBWPG_INCLUDE_DIR libwpg-0.1/libwpg/libwpg.h
-+ FIND_PATH(LIBWPG_INCLUDE_DIR libwpg/libwpg.h
+@@ -29,7 +29,7 @@
+ FIND_PATH(LIBWPG_INCLUDE_DIR libwpg/libwpg.h
PATHS
- ${_LibWpgIncDir}
+ ${LIBWPG_INCLUDE_DIRS}
- PATH_SUFFIXES libwpg
+ PATH_SUFFIXES libwpg-0.1
)
- FIND_LIBRARY(LIBWPG_LIBRARIES NAMES wpg-0.1 libwpg-0.1
+ IF (LIBWPG_INCLUDE_DIR AND LIBWPG_LIBRARIES)