~ubuntu-branches/ubuntu/karmic/kdepim/karmic-backports

« back to all changes in this revision

Viewing changes to akonadi/cmake/modules/FindLibKNotificationItem-1_New.cmake

  • Committer: Bazaar Package Importer
  • Author(s): Christian Mangold
  • Date: 2009-07-10 06:34:50 UTC
  • mfrom: (1.1.40 upstream)
  • Revision ID: james.westby@ubuntu.com-20090710063450-neojgew2fh0n3y0u
Tags: 4:4.2.96-0ubuntu1
* New upstream release
* Bump kde build-deps to 4.2.96

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
# - Find libknotification-1 library
2
 
# Find the libknotification-1. This is an experimental library which is not 
3
 
# supposed to stay source- or binary compatible, it may even go away in the future again.
4
 
#
5
 
# This module defines
6
 
#  LIBKNOTIFICATIONITEM-1_FOUND - whether the libkonitification-1 library was found
7
 
#  LIBKNOTIFICATIONITEM-1_LIBRARIES - the libknotification-1 library
8
 
#  LIBKNOTIFICATIONITEM-1_INCLUDE_DIR - the include path of the libknotification-1 library
9
 
 
10
 
 
11
 
 
12
 
find_library (LIBKNOTIFICATIONITEM-1_LIBRARY
13
 
  NAMES
14
 
  knotificationitem-1
15
 
  HINTS
16
 
  ${LIB_INSTALL_DIR}
17
 
  ${KDE4_LIB_DIR}
18
 
)
19
 
 
20
 
set(LIBKNOTIFICATIONITEM-1_LIBRARIES  ${LIBKNOTIFICATIONITEM-1_LIBRARY})
21
 
 
22
 
find_path (LIBKNOTIFICATIONITEM-1_INCLUDE_DIR
23
 
  NAMES
24
 
  knotificationitem.h
25
 
  PATH_SUFFIXES
26
 
  knotificationitem-1
27
 
  HINTS
28
 
  ${INCLUDE_INSTALL_DIR}
29
 
  ${KDE4_INCLUDE_DIR}
30
 
)
31
 
 
32
 
 
33
 
 
34
 
include(FindPackageHandleStandardArgs)
35
 
find_package_handle_standard_args(LibKNotificationItem-1  DEFAULT_MSG  LIBKNOTIFICATIONITEM-1_LIBRARY LIBKNOTIFICATIONITEM-1_INCLUDE_DIR)
36
 
 
37
 
mark_as_advanced(LIBKNOTIFICATIONITEM-1_INCLUDE_DIR LIBKNOTIFICATIONITEM-1_LIBRARY)