~paulliu/ubuntu/quantal/freerdp/fixext

« back to all changes in this revision

Viewing changes to cmake/FindXcursor.cmake

  • Committer: Package Import Robot
  • Author(s): Martin Pitt, Jeremy Bicha, Jean-Louis Dupond, Martin Pitt
  • Date: 2012-01-31 10:02:14 UTC
  • mfrom: (1.1.6)
  • Revision ID: package-import@ubuntu.com-20120131100214-jaok3uwvni7sqxth
Tags: 1.0.0-0git1
Upload current Debian packaging git to get this rolling for precise.

[ Jeremy Bicha ]
* New upstream release. Closes: #647498.
* Updated symbols and bumped soname
* debian/control:
  - Added new build dependencies
  - Bump Standards-Version to 3.9.2
* debian/source/format: Set to 3.0 (quilt)
* debian/rules: Turn on strict symbols checking
* debian/watch: Watch github

[ Jean-Louis Dupond ]
* debian/control: Updated homepage
* debian/copyright: Reflect upstream switch to the Apache license

[ Martin Pitt ]
* debian/libfreerdp0.symbols: Fix version number, should
  be 1.0~beta5, not 1.0-beta5.
* debian/control: Add libavcodec-dev build dependency, upstream build system
  checks for that. Thanks Jean-Louis Dupond!

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
# - Find Xcursor
 
2
# Find the Xcursor libraries
 
3
#
 
4
#  This module defines the following variables:
 
5
#     XCURSOR_FOUND        - true if XCURSOR_INCLUDE_DIR & XCURSOR_LIBRARY are found
 
6
#     XCURSOR_LIBRARIES    - Set when XCURSOR_LIBRARY is found
 
7
#     XCURSOR_INCLUDE_DIRS - Set when XCURSOR_INCLUDE_DIR is found
 
8
#
 
9
#     XCURSOR_INCLUDE_DIR  - where to find Xcursor.h, etc.
 
10
#     XCURSOR_LIBRARY      - the Xcursor library
 
11
#
 
12
 
 
13
#=============================================================================
 
14
# Copyright 2011 O.S. Systems Software Ltda.
 
15
# Copyright 2011 Otavio Salvador <otavio@ossystems.com.br>
 
16
# Copyright 2011 Marc-Andre Moreau <marcandre.moreau@gmail.com>
 
17
#
 
18
# Licensed under the Apache License, Version 2.0 (the "License");
 
19
# you may not use this file except in compliance with the License.
 
20
# You may obtain a copy of the License at
 
21
#
 
22
#     http://www.apache.org/licenses/LICENSE-2.0
 
23
#
 
24
# Unless required by applicable law or agreed to in writing, software
 
25
# distributed under the License is distributed on an "AS IS" BASIS,
 
26
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 
27
# See the License for the specific language governing permissions and
 
28
# limitations under the License.
 
29
#=============================================================================
 
30
 
 
31
find_path(XCURSOR_INCLUDE_DIR NAMES Xcursor.h
 
32
          PATH_SUFFIXES X11/Xcursor
 
33
          DOC "The Xcursor include directory"
 
34
)
 
35
 
 
36
find_library(XCURSOR_LIBRARY NAMES Xcursor
 
37
          DOC "The Xcursor library"
 
38
)
 
39
 
 
40
include(FindPackageHandleStandardArgs)
 
41
FIND_PACKAGE_HANDLE_STANDARD_ARGS(XCURSOR DEFAULT_MSG XCURSOR_LIBRARY XCURSOR_INCLUDE_DIR)
 
42
 
 
43
if(XCURSOR_FOUND)
 
44
  set( XCURSOR_LIBRARIES ${XCURSOR_LIBRARY} )
 
45
  set( XCURSOR_INCLUDE_DIRS ${XCURSOR_INCLUDE_DIR} )
 
46
endif()
 
47
 
 
48
mark_as_advanced(XCURSOR_INCLUDE_DIR XCURSOR_LIBRARY)
 
49