~paulliu/ubuntu/precise/freerdp/fixext

« back to all changes in this revision

Viewing changes to cmake/FindXfixes.cmake

  • Committer: Package Import Robot
  • Author(s): Otavio Salvador
  • Date: 2012-02-11 10:34:05 UTC
  • mfrom: (1.2.2)
  • mto: This revision was merged to the branch mainline in revision 13.
  • Revision ID: package-import@ubuntu.com-20120211103405-x2wgdb6x8plb7cdk
Tags: upstream-1.0.1
ImportĀ upstreamĀ versionĀ 1.0.1

Show diffs side-by-side

added added

removed removed

Lines of Context:
28
28
# limitations under the License.
29
29
#=============================================================================
30
30
 
31
 
find_path(XFIXES_INCLUDE_DIR NAMES Xfixes.h
 
31
find_path(XFIXES_INCLUDE_DIR NAMES X11/extensions/Xfixes.h
32
32
          PATH_SUFFIXES X11/extensions
33
33
          DOC "The Xfixes include directory"
34
34
)
38
38
)
39
39
 
40
40
include(FindPackageHandleStandardArgs)
41
 
FIND_PACKAGE_HANDLE_STANDARD_ARGS(XFIXES DEFAULT_MSG XFIXES_LIBRARY XFIXES_INCLUDE_DIR)
 
41
FIND_PACKAGE_HANDLE_STANDARD_ARGS(Xfixes DEFAULT_MSG XFIXES_LIBRARY XFIXES_INCLUDE_DIR)
42
42
 
43
43
if(XFIXES_FOUND)
44
44
  set( XFIXES_LIBRARIES ${XFIXES_LIBRARY} )