1 diff cmake/modules/FindWPD.cmake cmake/modules/FindWPD.cmake
2 index 9bd788c..927785a 100644
3 --- cmake/modules/FindWPD.cmake
4 +++ cmake/modules/FindWPD.cmake
5 @@ -19,14 +19,17 @@ if (WPD_INCLUDE_DIR AND WPD_LIBRARIES)
6 else (WPD_INCLUDE_DIR AND WPD_LIBRARIES)
9 - pkg_check_modules(WPD libwpd-0.8)
10 + pkg_check_modules(PKG_WPD libwpd-0.8)
13 FIND_PATH(WPD_INCLUDE_DIR libwpd/libwpd.h
15 + ${PKG_WPD_INCLUDE_DIRS}
16 /usr/include/libwpd-0.8
19 + FIND_LIBRARY(WPD_LIBRARIES wpd-0.8
20 + ${PKG_WPD_LIBRARY_DIRS}
23 include(FindPackageHandleStandardArgs)
24 FIND_PACKAGE_HANDLE_STANDARD_ARGS(WPD DEFAULT_MSG WPD_INCLUDE_DIR WPD_LIBRARIES )