~ubuntu-branches/ubuntu/vivid/kvpnc/vivid-proposed

« back to all changes in this revision

Viewing changes to cmake/modules/libgcryptConfig.cmake

  • Committer: Bazaar Package Importer
  • Author(s): Mark Purcell
  • Date: 2009-04-23 09:18:50 UTC
  • mfrom: (1.1.10 upstream) (8.1.2 sid)
  • Revision ID: james.westby@ubuntu.com-20090423091850-hweeg0jo64t0jx52
Tags: 0.9.1-1
* New upstream release (KDE4 is here)
* Add Build-Depends cmake and pkg-kde-tools
* Remove obsolete debian/patches
* Refresh debian/patches:
  - 10_su-to-root_usage.diff
  - 13_add_kuser_issuperuser.diff
* Cleanup debian/rules - simple under KDE4
* Update debian/watch for KDE4 version
* Update debian/copyright - use versionned licenses
* Update Section field - move to utils
* Remove obsolete dependencies: kdebase-bin, gksu, sux and modutils
* Update debian/kvpnc.{manpages,1}

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
# - Try to find libgcrypt
 
2
# Once done this will define
 
3
#
 
4
#  DVDREAD_FOUND - system has libgcrypt
 
5
#  LIBGCRYPT_INCLUDE_DIR - the libgcrypt include directory
 
6
#  LIBGCRYPT_LIBRARIES - Link these to use libgcrypt
 
7
#  LIBGCRYPT_DEFINITIONS - Compiler switches required for using libgcrypt
 
8
#
 
9
# Copyright (c) 2007, Laurent Montel, <montel@kde.org>
 
10
#
 
11
# Redistribution and use is allowed according to the terms of the BSD license.
 
12
# For details see the accompanying COPYING-CMAKE-SCRIPTS file.
 
13
#
 
14
 
 
15
 
 
16
if ( LIBGCRYPT_INCLUDE_DIR AND LIBGCRYPT_LIBRARIES )
 
17
   # in cache already
 
18
   SET(libgcrypt_FIND_QUIETLY TRUE)
 
19
endif ( LIBGCRYPT_INCLUDE_DIR AND LIBGCRYPT_LIBRARIES )
 
20
 
 
21
FIND_PATH(LIBGCRYPT_INCLUDE_DIR NAMES gcrypt.h
 
22
)
 
23
 
 
24
FIND_LIBRARY(LIBGCRYPT_LIBRARIES NAMES gcrypt
 
25
)
 
26
 
 
27
include(FindPackageHandleStandardArgs)
 
28
FIND_PACKAGE_HANDLE_STANDARD_ARGS(libgcrypt DEFAULT_MSG LIBGCRYPT_INCLUDE_DIR LIBGCRYPT_LIBRARIES )
 
29
 
 
30
# show the LIBGCRYPT_INCLUDE_DIR and LIBGCRYPT_LIBRARIES variables only in the advanced view
 
31
MARK_AS_ADVANCED(LIBGCRYPT_INCLUDE_DIR LIBGCRYPT_LIBRARIES )
 
32