~ubuntu-branches/ubuntu/natty/koffice/natty-security

« back to all changes in this revision

Viewing changes to cmake/modules/FindLCMS2.cmake

  • Committer: Bazaar Package Importer
  • Author(s): Jonathan Riddell
  • Date: 2011-01-19 12:29:32 UTC
  • mfrom: (0.17.2 upstream)
  • Revision ID: james.westby@ubuntu.com-20110119122932-8acdswnc4rc2owxq
Tags: 1:2.3.1-0ubuntu1
* New upstream release
* Add kubuntu_03_libwpg_02.diff from Fedora for libwpg 0.2 support,
  add back libwpg-dev build-depend
* Depend on libwpd-dev not libwpd8-dev
* Remove kubuntu_02_kpresenterpart.diff now upstream

Show diffs side-by-side

added added

removed removed

Lines of Context:
48
48
   if(LCMS2_VERSION_MATCH)
49
49
      string(REGEX REPLACE "#define LCMS_VERSION[ ]*([0-9]*)\n" "\\1" LCMS2_VERSION ${LCMS2_VERSION_MATCH})
50
50
      if(NOT LCMS2_FIND_QUIETLY)
51
 
         string(SUBSTRING ${LCMS_VERSION} 0 1 LCMS2_MAJOR_VERSION)
52
 
         string(SUBSTRING ${LCMS_VERSION} 1 2 LCMS2_MINOR_VERSION)
 
51
         string(SUBSTRING ${LCMS2_VERSION} 0 1 LCMS2_MAJOR_VERSION)
 
52
         string(SUBSTRING ${LCMS2_VERSION} 1 2 LCMS2_MINOR_VERSION)
53
53
         message(STATUS "Found lcms version ${LCMS2_MAJOR_VERSION}.${LCMS2_MINOR_VERSION}, ${LCMS2_LIBRARIES}")
54
54
      endif(NOT LCMS2_FIND_QUIETLY)
55
55
   else(LCMS2_VERSION_MATCH)