2005-12-14 21:51:08 +03:00
|
|
|
# - Find X11 installation
|
2005-12-15 22:17:43 +03:00
|
|
|
# Try to find X11 on UNIX systems. The following values are defined
|
|
|
|
# X11_FOUND - True if X11 is available
|
2005-12-14 21:51:08 +03:00
|
|
|
# X11_INCLUDE_DIR - include directories to use X11
|
2005-12-15 22:17:43 +03:00
|
|
|
# X11_LIBRARIES - link against these to use X11
|
2007-05-30 20:09:34 +04:00
|
|
|
#
|
|
|
|
# and also the following more fine grained variables:
|
2007-06-01 21:17:23 +04:00
|
|
|
# Include paths: X11_ICE_INCLUDE_PATH, X11_ICE_LIB, X11_ICE_FOUND
|
2011-08-04 00:33:18 +04:00
|
|
|
# X11_SM_INCLUDE_PATH, X11_SM_LIB, X11_SM_FOUND
|
2009-11-15 21:26:59 +03:00
|
|
|
# X11_X11_INCLUDE_PATH, X11_X11_LIB
|
2007-06-08 18:28:52 +04:00
|
|
|
# X11_Xaccessrules_INCLUDE_PATH, X11_Xaccess_FOUND
|
|
|
|
# X11_Xaccessstr_INCLUDE_PATH, X11_Xaccess_FOUND
|
2007-06-01 21:17:23 +04:00
|
|
|
# X11_Xau_INCLUDE_PATH, X11_Xau_LIB, X11_Xau_FOUND
|
|
|
|
# X11_Xcomposite_INCLUDE_PATH, X11_Xcomposite_LIB, X11_Xcomposite_FOUND
|
|
|
|
# X11_Xcursor_INCLUDE_PATH, X11_Xcursor_LIB, X11_Xcursor_FOUND
|
|
|
|
# X11_Xdamage_INCLUDE_PATH, X11_Xdamage_LIB, X11_Xdamage_FOUND
|
|
|
|
# X11_Xdmcp_INCLUDE_PATH, X11_Xdmcp_LIB, X11_Xdmcp_FOUND
|
|
|
|
# X11_Xext_LIB, X11_Xext_FOUND
|
2007-06-08 18:28:52 +04:00
|
|
|
# X11_dpms_INCLUDE_PATH, (in X11_Xext_LIB), X11_dpms_FOUND
|
|
|
|
# X11_XShm_INCLUDE_PATH, (in X11_Xext_LIB), X11_XShm_FOUND
|
|
|
|
# X11_Xshape_INCLUDE_PATH, (in X11_Xext_LIB), X11_Xshape_FOUND
|
2008-01-04 19:56:18 +03:00
|
|
|
# X11_xf86misc_INCLUDE_PATH, X11_Xxf86misc_LIB, X11_xf86misc_FOUND
|
|
|
|
# X11_xf86vmode_INCLUDE_PATH, X11_xf86vmode_FOUND
|
2007-06-01 21:17:23 +04:00
|
|
|
# X11_Xfixes_INCLUDE_PATH, X11_Xfixes_LIB, X11_Xfixes_FOUND
|
|
|
|
# X11_Xft_INCLUDE_PATH, X11_Xft_LIB, X11_Xft_FOUND
|
2010-03-17 19:45:24 +03:00
|
|
|
# X11_Xi_INCLUDE_PATH, X11_Xi_LIB, X11_Xi_FOUND
|
2007-06-01 21:17:23 +04:00
|
|
|
# X11_Xinerama_INCLUDE_PATH, X11_Xinerama_LIB, X11_Xinerama_FOUND
|
|
|
|
# X11_Xinput_INCLUDE_PATH, X11_Xinput_LIB, X11_Xinput_FOUND
|
2007-06-08 18:28:52 +04:00
|
|
|
# X11_Xkb_INCLUDE_PATH, X11_Xkb_FOUND
|
|
|
|
# X11_Xkblib_INCLUDE_PATH, X11_Xkb_FOUND
|
2011-08-04 00:33:18 +04:00
|
|
|
# X11_Xkbfile_INCLUDE_PATH, X11_Xkbfile_LIB, X11_Xkbfile_FOUND
|
2012-02-08 23:15:20 +04:00
|
|
|
# X11_Xmu_INCLUDE_PATH, X11_Xmu_LIB, X11_Xmu_FOUND
|
2007-06-01 21:17:23 +04:00
|
|
|
# X11_Xpm_INCLUDE_PATH, X11_Xpm_LIB, X11_Xpm_FOUND
|
|
|
|
# X11_XTest_INCLUDE_PATH, X11_XTest_LIB, X11_XTest_FOUND
|
|
|
|
# X11_Xrandr_INCLUDE_PATH, X11_Xrandr_LIB, X11_Xrandr_FOUND
|
|
|
|
# X11_Xrender_INCLUDE_PATH, X11_Xrender_LIB, X11_Xrender_FOUND
|
2007-06-08 18:28:52 +04:00
|
|
|
# X11_Xscreensaver_INCLUDE_PATH, X11_Xscreensaver_LIB, X11_Xscreensaver_FOUND
|
|
|
|
# X11_Xt_INCLUDE_PATH, X11_Xt_LIB, X11_Xt_FOUND
|
|
|
|
# X11_Xutil_INCLUDE_PATH, X11_Xutil_FOUND
|
2007-06-01 21:17:23 +04:00
|
|
|
# X11_Xv_INCLUDE_PATH, X11_Xv_LIB, X11_Xv_FOUND
|
2011-08-04 00:33:18 +04:00
|
|
|
# X11_XSync_INCLUDE_PATH, (in X11_Xext_LIB), X11_XSync_FOUND
|
|
|
|
|
2007-05-30 20:09:34 +04:00
|
|
|
|
2009-09-28 19:45:50 +04:00
|
|
|
#=============================================================================
|
|
|
|
# Copyright 2001-2009 Kitware, Inc.
|
|
|
|
#
|
|
|
|
# Distributed under the OSI-approved BSD License (the "License");
|
|
|
|
# see accompanying file Copyright.txt for details.
|
|
|
|
#
|
|
|
|
# This software is distributed WITHOUT ANY WARRANTY; without even the
|
|
|
|
# implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
|
|
|
|
# See the License for more information.
|
|
|
|
#=============================================================================
|
2010-08-07 04:48:47 +04:00
|
|
|
# (To distribute this file outside of CMake, substitute the full
|
2009-09-28 19:45:50 +04:00
|
|
|
# License text for the above reference.)
|
2002-09-03 14:10:06 +04:00
|
|
|
|
2002-09-02 23:46:04 +04:00
|
|
|
IF (UNIX)
|
2003-01-08 19:45:48 +03:00
|
|
|
SET(X11_FOUND 0)
|
2006-04-14 23:08:25 +04:00
|
|
|
# X11 is never a framework and some header files may be
|
|
|
|
# found in tcl on the mac
|
|
|
|
SET(CMAKE_FIND_FRAMEWORK_SAVE ${CMAKE_FIND_FRAMEWORK})
|
2006-04-17 23:55:24 +04:00
|
|
|
SET(CMAKE_FIND_FRAMEWORK NEVER)
|
2003-01-08 19:45:48 +03:00
|
|
|
SET(X11_INC_SEARCH_PATH
|
2007-05-30 20:09:34 +04:00
|
|
|
/usr/pkg/xorg/include
|
2011-08-04 00:32:28 +04:00
|
|
|
/usr/X11R6/include
|
|
|
|
/usr/X11R7/include
|
2002-11-05 15:15:42 +03:00
|
|
|
/usr/include/X11
|
2011-08-04 00:32:28 +04:00
|
|
|
/usr/openwin/include
|
|
|
|
/usr/openwin/share/include
|
2002-11-05 15:15:42 +03:00
|
|
|
/opt/graphics/OpenGL/include
|
|
|
|
)
|
|
|
|
|
2003-01-08 19:45:48 +03:00
|
|
|
SET(X11_LIB_SEARCH_PATH
|
2007-05-30 20:09:34 +04:00
|
|
|
/usr/pkg/xorg/lib
|
2002-09-02 23:46:04 +04:00
|
|
|
/usr/X11R6/lib
|
2008-08-16 15:38:12 +04:00
|
|
|
/usr/X11R7/lib
|
2011-08-04 00:32:28 +04:00
|
|
|
/usr/openwin/lib
|
2001-11-11 07:01:06 +03:00
|
|
|
)
|
|
|
|
|
2007-05-30 20:09:34 +04:00
|
|
|
FIND_PATH(X11_X11_INCLUDE_PATH X11/X.h ${X11_INC_SEARCH_PATH})
|
|
|
|
FIND_PATH(X11_Xlib_INCLUDE_PATH X11/Xlib.h ${X11_INC_SEARCH_PATH})
|
|
|
|
|
|
|
|
# Look for includes; keep the list sorted by name of the cmake *_INCLUDE_PATH
|
|
|
|
# variable (which doesn't need to match the include file name).
|
2011-08-04 00:32:28 +04:00
|
|
|
|
2007-05-30 20:09:34 +04:00
|
|
|
# Solaris lacks XKBrules.h, so we should skip kxkbd there.
|
|
|
|
FIND_PATH(X11_ICE_INCLUDE_PATH X11/ICE/ICE.h ${X11_INC_SEARCH_PATH})
|
2011-08-04 00:33:18 +04:00
|
|
|
FIND_PATH(X11_SM_INCLUDE_PATH X11/SM/SM.h ${X11_INC_SEARCH_PATH})
|
2007-05-30 20:09:34 +04:00
|
|
|
FIND_PATH(X11_Xaccessrules_INCLUDE_PATH X11/extensions/XKBrules.h ${X11_INC_SEARCH_PATH})
|
|
|
|
FIND_PATH(X11_Xaccessstr_INCLUDE_PATH X11/extensions/XKBstr.h ${X11_INC_SEARCH_PATH})
|
2007-06-01 21:17:23 +04:00
|
|
|
FIND_PATH(X11_Xau_INCLUDE_PATH X11/Xauth.h ${X11_INC_SEARCH_PATH})
|
2007-05-30 20:09:34 +04:00
|
|
|
FIND_PATH(X11_Xcomposite_INCLUDE_PATH X11/extensions/Xcomposite.h ${X11_INC_SEARCH_PATH})
|
|
|
|
FIND_PATH(X11_Xcursor_INCLUDE_PATH X11/Xcursor/Xcursor.h ${X11_INC_SEARCH_PATH})
|
|
|
|
FIND_PATH(X11_Xdamage_INCLUDE_PATH X11/extensions/Xdamage.h ${X11_INC_SEARCH_PATH})
|
|
|
|
FIND_PATH(X11_Xdmcp_INCLUDE_PATH X11/Xdmcp.h ${X11_INC_SEARCH_PATH})
|
|
|
|
FIND_PATH(X11_dpms_INCLUDE_PATH X11/extensions/dpms.h ${X11_INC_SEARCH_PATH})
|
2008-01-04 19:56:18 +03:00
|
|
|
FIND_PATH(X11_xf86misc_INCLUDE_PATH X11/extensions/xf86misc.h ${X11_INC_SEARCH_PATH})
|
2007-05-30 20:09:34 +04:00
|
|
|
FIND_PATH(X11_xf86vmode_INCLUDE_PATH X11/extensions/xf86vmode.h ${X11_INC_SEARCH_PATH})
|
|
|
|
FIND_PATH(X11_Xfixes_INCLUDE_PATH X11/extensions/Xfixes.h ${X11_INC_SEARCH_PATH})
|
|
|
|
FIND_PATH(X11_Xft_INCLUDE_PATH X11/Xft/Xft.h ${X11_INC_SEARCH_PATH})
|
2010-03-17 19:45:24 +03:00
|
|
|
FIND_PATH(X11_Xi_INCLUDE_PATH X11/extensions/XInput.h ${X11_INC_SEARCH_PATH})
|
2007-05-30 20:09:34 +04:00
|
|
|
FIND_PATH(X11_Xinerama_INCLUDE_PATH X11/extensions/Xinerama.h ${X11_INC_SEARCH_PATH})
|
|
|
|
FIND_PATH(X11_Xinput_INCLUDE_PATH X11/extensions/XInput.h ${X11_INC_SEARCH_PATH})
|
|
|
|
FIND_PATH(X11_Xkb_INCLUDE_PATH X11/extensions/XKB.h ${X11_INC_SEARCH_PATH})
|
|
|
|
FIND_PATH(X11_Xkblib_INCLUDE_PATH X11/XKBlib.h ${X11_INC_SEARCH_PATH})
|
2011-08-04 00:33:18 +04:00
|
|
|
FIND_PATH(X11_Xkbfile_INCLUDE_PATH X11/extensions/XKBfile.h ${X11_INC_SEARCH_PATH})
|
2012-02-08 23:15:20 +04:00
|
|
|
FIND_PATH(X11_Xmu_INCLUDE_PATH X11/Xmu/Xmu.h ${X11_INC_SEARCH_PATH})
|
2007-05-30 20:09:34 +04:00
|
|
|
FIND_PATH(X11_Xpm_INCLUDE_PATH X11/xpm.h ${X11_INC_SEARCH_PATH})
|
|
|
|
FIND_PATH(X11_XTest_INCLUDE_PATH X11/extensions/XTest.h ${X11_INC_SEARCH_PATH})
|
|
|
|
FIND_PATH(X11_XShm_INCLUDE_PATH X11/extensions/XShm.h ${X11_INC_SEARCH_PATH})
|
|
|
|
FIND_PATH(X11_Xrandr_INCLUDE_PATH X11/extensions/Xrandr.h ${X11_INC_SEARCH_PATH})
|
|
|
|
FIND_PATH(X11_Xrender_INCLUDE_PATH X11/extensions/Xrender.h ${X11_INC_SEARCH_PATH})
|
2011-11-09 15:22:32 +04:00
|
|
|
FIND_PATH(X11_XRes_INCLUDE_PATH X11/extensions/XRes.h ${X11_INC_SEARCH_PATH})
|
2007-05-30 20:09:34 +04:00
|
|
|
FIND_PATH(X11_Xscreensaver_INCLUDE_PATH X11/extensions/scrnsaver.h ${X11_INC_SEARCH_PATH})
|
|
|
|
FIND_PATH(X11_Xshape_INCLUDE_PATH X11/extensions/shape.h ${X11_INC_SEARCH_PATH})
|
|
|
|
FIND_PATH(X11_Xutil_INCLUDE_PATH X11/Xutil.h ${X11_INC_SEARCH_PATH})
|
2007-06-08 18:28:52 +04:00
|
|
|
FIND_PATH(X11_Xt_INCLUDE_PATH X11/Intrinsic.h ${X11_INC_SEARCH_PATH})
|
2007-05-30 20:09:34 +04:00
|
|
|
FIND_PATH(X11_Xv_INCLUDE_PATH X11/extensions/Xvlib.h ${X11_INC_SEARCH_PATH})
|
2011-08-04 00:33:18 +04:00
|
|
|
FIND_PATH(X11_XSync_INCLUDE_PATH X11/extensions/sync.h ${X11_INC_SEARCH_PATH})
|
2007-05-30 20:09:34 +04:00
|
|
|
|
|
|
|
|
|
|
|
FIND_LIBRARY(X11_X11_LIB X11 ${X11_LIB_SEARCH_PATH})
|
|
|
|
|
|
|
|
# Find additional X libraries. Keep list sorted by library name.
|
|
|
|
FIND_LIBRARY(X11_ICE_LIB ICE ${X11_LIB_SEARCH_PATH})
|
2008-01-21 00:02:38 +03:00
|
|
|
FIND_LIBRARY(X11_SM_LIB SM ${X11_LIB_SEARCH_PATH})
|
2007-05-30 20:09:34 +04:00
|
|
|
FIND_LIBRARY(X11_Xau_LIB Xau ${X11_LIB_SEARCH_PATH})
|
|
|
|
FIND_LIBRARY(X11_Xcomposite_LIB Xcomposite ${X11_LIB_SEARCH_PATH})
|
|
|
|
FIND_LIBRARY(X11_Xcursor_LIB Xcursor ${X11_LIB_SEARCH_PATH})
|
|
|
|
FIND_LIBRARY(X11_Xdamage_LIB Xdamage ${X11_LIB_SEARCH_PATH})
|
|
|
|
FIND_LIBRARY(X11_Xdmcp_LIB Xdmcp ${X11_LIB_SEARCH_PATH})
|
|
|
|
FIND_LIBRARY(X11_Xext_LIB Xext ${X11_LIB_SEARCH_PATH})
|
|
|
|
FIND_LIBRARY(X11_Xfixes_LIB Xfixes ${X11_LIB_SEARCH_PATH})
|
|
|
|
FIND_LIBRARY(X11_Xft_LIB Xft ${X11_LIB_SEARCH_PATH})
|
2010-03-17 19:45:24 +03:00
|
|
|
FIND_LIBRARY(X11_Xi_LIB Xi ${X11_LIB_SEARCH_PATH})
|
2007-05-30 20:09:34 +04:00
|
|
|
FIND_LIBRARY(X11_Xinerama_LIB Xinerama ${X11_LIB_SEARCH_PATH})
|
|
|
|
FIND_LIBRARY(X11_Xinput_LIB Xi ${X11_LIB_SEARCH_PATH})
|
2011-08-04 00:33:18 +04:00
|
|
|
FIND_LIBRARY(X11_Xkbfile_LIB xkbfile ${X11_LIB_SEARCH_PATH})
|
2012-02-08 23:15:20 +04:00
|
|
|
FIND_LIBRARY(X11_Xmu_LIB Xmu ${X11_LIB_SEARCH_PATH})
|
2007-05-30 20:09:34 +04:00
|
|
|
FIND_LIBRARY(X11_Xpm_LIB Xpm ${X11_LIB_SEARCH_PATH})
|
|
|
|
FIND_LIBRARY(X11_Xrandr_LIB Xrandr ${X11_LIB_SEARCH_PATH})
|
|
|
|
FIND_LIBRARY(X11_Xrender_LIB Xrender ${X11_LIB_SEARCH_PATH})
|
2011-11-09 15:22:32 +04:00
|
|
|
FIND_LIBRARY(X11_XRes_LIB XRes ${X11_LIB_SEARCH_PATH})
|
2007-06-08 18:28:52 +04:00
|
|
|
FIND_LIBRARY(X11_Xscreensaver_LIB Xss ${X11_LIB_SEARCH_PATH})
|
2007-05-30 20:09:34 +04:00
|
|
|
FIND_LIBRARY(X11_Xt_LIB Xt ${X11_LIB_SEARCH_PATH})
|
|
|
|
FIND_LIBRARY(X11_XTest_LIB Xtst ${X11_LIB_SEARCH_PATH})
|
|
|
|
FIND_LIBRARY(X11_Xv_LIB Xv ${X11_LIB_SEARCH_PATH})
|
|
|
|
FIND_LIBRARY(X11_Xxf86misc_LIB Xxf86misc ${X11_LIB_SEARCH_PATH})
|
|
|
|
|
|
|
|
SET(X11_LIBRARY_DIR "")
|
|
|
|
IF(X11_X11_LIB)
|
|
|
|
GET_FILENAME_COMPONENT(X11_LIBRARY_DIR ${X11_X11_LIB} PATH)
|
|
|
|
ENDIF(X11_X11_LIB)
|
2003-01-02 17:57:42 +03:00
|
|
|
|
2008-03-17 18:10:42 +03:00
|
|
|
SET(X11_INCLUDE_DIR) # start with empty list
|
2003-01-08 19:45:48 +03:00
|
|
|
IF(X11_X11_INCLUDE_PATH)
|
|
|
|
SET(X11_INCLUDE_DIR ${X11_INCLUDE_DIR} ${X11_X11_INCLUDE_PATH})
|
|
|
|
ENDIF(X11_X11_INCLUDE_PATH)
|
2002-09-02 23:46:04 +04:00
|
|
|
|
2003-01-08 19:45:48 +03:00
|
|
|
IF(X11_Xlib_INCLUDE_PATH)
|
|
|
|
SET(X11_INCLUDE_DIR ${X11_INCLUDE_DIR} ${X11_Xlib_INCLUDE_PATH})
|
|
|
|
ENDIF(X11_Xlib_INCLUDE_PATH)
|
2002-06-15 00:49:00 +04:00
|
|
|
|
2003-01-08 19:45:48 +03:00
|
|
|
IF(X11_Xutil_INCLUDE_PATH)
|
2007-06-01 21:17:23 +04:00
|
|
|
SET(X11_Xutil_FOUND TRUE)
|
2003-01-08 19:45:48 +03:00
|
|
|
SET(X11_INCLUDE_DIR ${X11_INCLUDE_DIR} ${X11_Xutil_INCLUDE_PATH})
|
|
|
|
ENDIF(X11_Xutil_INCLUDE_PATH)
|
2002-09-05 20:00:45 +04:00
|
|
|
|
2007-05-30 20:09:34 +04:00
|
|
|
IF(X11_Xshape_INCLUDE_PATH)
|
|
|
|
SET(X11_Xshape_FOUND TRUE)
|
|
|
|
SET(X11_INCLUDE_DIR ${X11_INCLUDE_DIR} ${X11_Xshape_INCLUDE_PATH})
|
|
|
|
ENDIF(X11_Xshape_INCLUDE_PATH)
|
|
|
|
|
2008-03-17 18:10:42 +03:00
|
|
|
SET(X11_LIBRARIES) # start with empty list
|
2003-01-08 19:45:48 +03:00
|
|
|
IF(X11_X11_LIB)
|
|
|
|
SET(X11_LIBRARIES ${X11_LIBRARIES} ${X11_X11_LIB})
|
|
|
|
ENDIF(X11_X11_LIB)
|
2002-12-17 19:55:54 +03:00
|
|
|
|
2003-01-08 19:45:48 +03:00
|
|
|
IF(X11_Xext_LIB)
|
2007-06-01 21:17:23 +04:00
|
|
|
SET(X11_Xext_FOUND TRUE)
|
2003-01-08 19:45:48 +03:00
|
|
|
SET(X11_LIBRARIES ${X11_LIBRARIES} ${X11_Xext_LIB})
|
|
|
|
ENDIF(X11_Xext_LIB)
|
2002-09-05 20:00:45 +04:00
|
|
|
|
2007-06-08 18:28:52 +04:00
|
|
|
IF(X11_Xt_LIB AND X11_Xt_INCLUDE_PATH)
|
2007-06-01 21:17:23 +04:00
|
|
|
SET(X11_Xt_FOUND TRUE)
|
2007-06-08 18:28:52 +04:00
|
|
|
ENDIF(X11_Xt_LIB AND X11_Xt_INCLUDE_PATH)
|
2007-06-01 21:17:23 +04:00
|
|
|
|
2007-05-30 20:09:34 +04:00
|
|
|
IF(X11_Xft_LIB AND X11_Xft_INCLUDE_PATH)
|
2007-06-01 21:17:23 +04:00
|
|
|
SET(X11_Xft_FOUND TRUE)
|
2007-05-30 20:09:34 +04:00
|
|
|
SET(X11_INCLUDE_DIR ${X11_INCLUDE_DIR} ${X11_Xft_INCLUDE_PATH})
|
|
|
|
ENDIF(X11_Xft_LIB AND X11_Xft_INCLUDE_PATH)
|
2002-12-17 19:55:54 +03:00
|
|
|
|
2007-05-30 20:09:34 +04:00
|
|
|
IF(X11_Xv_LIB AND X11_Xv_INCLUDE_PATH)
|
|
|
|
SET(X11_Xv_FOUND TRUE)
|
|
|
|
SET(X11_INCLUDE_DIR ${X11_INCLUDE_DIR} ${X11_Xv_INCLUDE_PATH})
|
|
|
|
ENDIF(X11_Xv_LIB AND X11_Xv_INCLUDE_PATH)
|
|
|
|
|
2007-06-01 21:17:23 +04:00
|
|
|
IF (X11_Xau_LIB AND X11_Xau_INCLUDE_PATH)
|
2007-05-30 20:09:34 +04:00
|
|
|
SET(X11_Xau_FOUND TRUE)
|
2007-06-01 21:17:23 +04:00
|
|
|
ENDIF (X11_Xau_LIB AND X11_Xau_INCLUDE_PATH)
|
2007-05-30 20:09:34 +04:00
|
|
|
|
|
|
|
IF (X11_Xdmcp_INCLUDE_PATH AND X11_Xdmcp_LIB)
|
|
|
|
SET(X11_Xdmcp_FOUND TRUE)
|
|
|
|
SET(X11_INCLUDE_DIR ${X11_INCLUDE_DIR} ${X11_Xdmcp_INCLUDE_PATH})
|
|
|
|
ENDIF (X11_Xdmcp_INCLUDE_PATH AND X11_Xdmcp_LIB)
|
|
|
|
|
|
|
|
IF (X11_Xaccessrules_INCLUDE_PATH AND X11_Xaccessstr_INCLUDE_PATH)
|
|
|
|
SET(X11_Xaccess_FOUND TRUE)
|
|
|
|
SET(X11_Xaccess_INCLUDE_PATH ${X11_Xaccessstr_INCLUDE_PATH})
|
|
|
|
SET(X11_INCLUDE_DIR ${X11_INCLUDE_DIR} ${X11_Xaccess_INCLUDE_PATH})
|
|
|
|
ENDIF (X11_Xaccessrules_INCLUDE_PATH AND X11_Xaccessstr_INCLUDE_PATH)
|
|
|
|
|
|
|
|
IF (X11_Xpm_INCLUDE_PATH AND X11_Xpm_LIB)
|
|
|
|
SET(X11_Xpm_FOUND TRUE)
|
|
|
|
SET(X11_INCLUDE_DIR ${X11_INCLUDE_DIR} ${X11_Xpm_INCLUDE_PATH})
|
|
|
|
ENDIF (X11_Xpm_INCLUDE_PATH AND X11_Xpm_LIB)
|
|
|
|
|
2007-06-01 21:17:23 +04:00
|
|
|
IF (X11_Xcomposite_INCLUDE_PATH AND X11_Xcomposite_LIB)
|
2007-05-30 20:09:34 +04:00
|
|
|
SET(X11_Xcomposite_FOUND TRUE)
|
|
|
|
SET(X11_INCLUDE_DIR ${X11_INCLUDE_DIR} ${X11_Xcomposite_INCLUDE_PATH})
|
2007-06-01 21:17:23 +04:00
|
|
|
ENDIF (X11_Xcomposite_INCLUDE_PATH AND X11_Xcomposite_LIB)
|
2007-05-30 20:09:34 +04:00
|
|
|
|
2007-06-01 21:17:23 +04:00
|
|
|
IF (X11_Xdamage_INCLUDE_PATH AND X11_Xdamage_LIB)
|
2007-05-30 20:09:34 +04:00
|
|
|
SET(X11_Xdamage_FOUND TRUE)
|
|
|
|
SET(X11_INCLUDE_DIR ${X11_INCLUDE_DIR} ${X11_Xdamage_INCLUDE_PATH})
|
2007-06-01 21:17:23 +04:00
|
|
|
ENDIF (X11_Xdamage_INCLUDE_PATH AND X11_Xdamage_LIB)
|
2007-05-30 20:09:34 +04:00
|
|
|
|
|
|
|
IF (X11_XShm_INCLUDE_PATH)
|
|
|
|
SET(X11_XShm_FOUND TRUE)
|
|
|
|
SET(X11_INCLUDE_DIR ${X11_INCLUDE_DIR} ${X11_XShm_INCLUDE_PATH})
|
|
|
|
ENDIF (X11_XShm_INCLUDE_PATH)
|
|
|
|
|
|
|
|
IF (X11_XTest_INCLUDE_PATH AND X11_XTest_LIB)
|
|
|
|
SET(X11_XTest_FOUND TRUE)
|
|
|
|
SET(X11_INCLUDE_DIR ${X11_INCLUDE_DIR} ${X11_XTest_INCLUDE_PATH})
|
|
|
|
ENDIF (X11_XTest_INCLUDE_PATH AND X11_XTest_LIB)
|
|
|
|
|
2010-03-17 19:45:24 +03:00
|
|
|
IF (X11_Xi_INCLUDE_PATH AND X11_Xi_LIB)
|
|
|
|
SET(X11_Xi_FOUND TRUE)
|
|
|
|
SET(X11_INCLUDE_DIR ${X11_INCLUDE_DIR} ${X11_Xi_INCLUDE_PATH})
|
|
|
|
ENDIF (X11_Xi_INCLUDE_PATH AND X11_Xi_LIB)
|
|
|
|
|
2007-06-01 21:17:23 +04:00
|
|
|
IF (X11_Xinerama_INCLUDE_PATH AND X11_Xinerama_LIB)
|
2007-05-30 20:09:34 +04:00
|
|
|
SET(X11_Xinerama_FOUND TRUE)
|
|
|
|
SET(X11_INCLUDE_DIR ${X11_INCLUDE_DIR} ${X11_Xinerama_INCLUDE_PATH})
|
2007-06-01 21:17:23 +04:00
|
|
|
ENDIF (X11_Xinerama_INCLUDE_PATH AND X11_Xinerama_LIB)
|
2007-05-30 20:09:34 +04:00
|
|
|
|
2007-06-01 21:17:23 +04:00
|
|
|
IF (X11_Xfixes_INCLUDE_PATH AND X11_Xfixes_LIB)
|
2007-05-30 20:09:34 +04:00
|
|
|
SET(X11_Xfixes_FOUND TRUE)
|
|
|
|
SET(X11_INCLUDE_DIR ${X11_INCLUDE_DIR} ${X11_Xfixes_INCLUDE_PATH})
|
2007-06-01 21:17:23 +04:00
|
|
|
ENDIF (X11_Xfixes_INCLUDE_PATH AND X11_Xfixes_LIB)
|
2007-05-30 20:09:34 +04:00
|
|
|
|
|
|
|
IF (X11_Xrender_INCLUDE_PATH AND X11_Xrender_LIB)
|
|
|
|
SET(X11_Xrender_FOUND TRUE)
|
|
|
|
SET(X11_INCLUDE_DIR ${X11_INCLUDE_DIR} ${X11_Xrender_INCLUDE_PATH})
|
|
|
|
ENDIF (X11_Xrender_INCLUDE_PATH AND X11_Xrender_LIB)
|
|
|
|
|
2011-11-09 15:22:32 +04:00
|
|
|
IF (X11_XRes_INCLUDE_PATH AND X11_XRes_LIB)
|
|
|
|
SET(X11_XRes_FOUND TRUE)
|
|
|
|
SET(X11_INCLUDE_DIR ${X11_INCLUDE_DIR} ${X11_XRes_INCLUDE_PATH})
|
|
|
|
ENDIF (X11_XRes_INCLUDE_PATH AND X11_XRes_LIB)
|
|
|
|
|
2007-06-01 21:17:23 +04:00
|
|
|
IF (X11_Xrandr_INCLUDE_PATH AND X11_Xrandr_LIB)
|
2007-05-30 20:09:34 +04:00
|
|
|
SET(X11_Xrandr_FOUND TRUE)
|
|
|
|
SET(X11_INCLUDE_DIR ${X11_INCLUDE_DIR} ${X11_Xrandr_INCLUDE_PATH})
|
2007-06-01 21:17:23 +04:00
|
|
|
ENDIF (X11_Xrandr_INCLUDE_PATH AND X11_Xrandr_LIB)
|
2007-05-30 20:09:34 +04:00
|
|
|
|
2008-01-04 19:56:18 +03:00
|
|
|
IF (X11_xf86misc_INCLUDE_PATH AND X11_Xxf86misc_LIB)
|
|
|
|
SET(X11_xf86misc_FOUND TRUE)
|
|
|
|
SET(X11_INCLUDE_DIR ${X11_INCLUDE_DIR} ${X11_xf86misc_INCLUDE_PATH})
|
|
|
|
ENDIF (X11_xf86misc_INCLUDE_PATH AND X11_Xxf86misc_LIB)
|
2007-05-30 20:09:34 +04:00
|
|
|
|
|
|
|
IF (X11_xf86vmode_INCLUDE_PATH)
|
|
|
|
SET(X11_xf86vmode_FOUND TRUE)
|
|
|
|
SET(X11_INCLUDE_DIR ${X11_INCLUDE_DIR} ${X11_xf86vmode_INCLUDE_PATH})
|
|
|
|
ENDIF (X11_xf86vmode_INCLUDE_PATH)
|
|
|
|
|
|
|
|
IF (X11_Xcursor_INCLUDE_PATH AND X11_Xcursor_LIB)
|
|
|
|
SET(X11_Xcursor_FOUND TRUE)
|
|
|
|
SET(X11_INCLUDE_DIR ${X11_INCLUDE_DIR} ${X11_Xcursor_INCLUDE_PATH})
|
|
|
|
ENDIF (X11_Xcursor_INCLUDE_PATH AND X11_Xcursor_LIB)
|
|
|
|
|
2007-06-08 18:28:52 +04:00
|
|
|
IF (X11_Xscreensaver_INCLUDE_PATH AND X11_Xscreensaver_LIB)
|
2007-05-30 20:09:34 +04:00
|
|
|
SET(X11_Xscreensaver_FOUND TRUE)
|
|
|
|
SET(X11_INCLUDE_DIR ${X11_INCLUDE_DIR} ${X11_Xscreensaver_INCLUDE_PATH})
|
2007-06-08 18:28:52 +04:00
|
|
|
ENDIF (X11_Xscreensaver_INCLUDE_PATH AND X11_Xscreensaver_LIB)
|
2007-05-30 20:09:34 +04:00
|
|
|
|
|
|
|
IF (X11_dpms_INCLUDE_PATH)
|
|
|
|
SET(X11_dpms_FOUND TRUE)
|
|
|
|
SET(X11_INCLUDE_DIR ${X11_INCLUDE_DIR} ${X11_dpms_INCLUDE_PATH})
|
|
|
|
ENDIF (X11_dpms_INCLUDE_PATH)
|
|
|
|
|
|
|
|
IF (X11_Xkb_INCLUDE_PATH AND X11_Xkblib_INCLUDE_PATH AND X11_Xlib_INCLUDE_PATH)
|
|
|
|
SET(X11_Xkb_FOUND TRUE)
|
|
|
|
SET(X11_INCLUDE_DIR ${X11_INCLUDE_DIR} ${X11_Xkb_INCLUDE_PATH} )
|
|
|
|
ENDIF (X11_Xkb_INCLUDE_PATH AND X11_Xkblib_INCLUDE_PATH AND X11_Xlib_INCLUDE_PATH)
|
|
|
|
|
2011-08-04 00:33:18 +04:00
|
|
|
IF (X11_Xkbfile_INCLUDE_PATH AND X11_Xkbfile_LIB AND X11_Xlib_INCLUDE_PATH)
|
|
|
|
SET(X11_Xkbfile_FOUND TRUE)
|
|
|
|
SET(X11_INCLUDE_DIR ${X11_INCLUDE_DIR} ${X11_Xkbfile_INCLUDE_PATH} )
|
|
|
|
ENDIF (X11_Xkbfile_INCLUDE_PATH AND X11_Xkbfile_LIB AND X11_Xlib_INCLUDE_PATH)
|
|
|
|
|
2012-02-08 23:15:20 +04:00
|
|
|
IF (X11_Xmu_INCLUDE_PATH AND X11_Xmu_LIB)
|
|
|
|
SET(X11_Xmu_FOUND TRUE)
|
|
|
|
SET(X11_INCLUDE_DIR ${X11_INCLUDE_DIR} ${X11_Xmu_INCLUDE_PATH})
|
|
|
|
ENDIF (X11_Xmu_INCLUDE_PATH AND X11_Xmu_LIB)
|
|
|
|
|
2007-05-30 20:09:34 +04:00
|
|
|
IF (X11_Xinput_INCLUDE_PATH AND X11_Xinput_LIB)
|
|
|
|
SET(X11_Xinput_FOUND TRUE)
|
|
|
|
SET(X11_INCLUDE_DIR ${X11_INCLUDE_DIR} ${X11_Xinput_INCLUDE_PATH})
|
|
|
|
ENDIF (X11_Xinput_INCLUDE_PATH AND X11_Xinput_LIB)
|
|
|
|
|
2011-08-04 00:33:18 +04:00
|
|
|
IF (X11_XSync_INCLUDE_PATH)
|
|
|
|
SET(X11_XSync_FOUND TRUE)
|
|
|
|
SET(X11_INCLUDE_DIR ${X11_INCLUDE_DIR} ${X11_XSync_INCLUDE_PATH})
|
|
|
|
ENDIF (X11_XSync_INCLUDE_PATH)
|
|
|
|
|
2007-05-30 20:09:34 +04:00
|
|
|
IF(X11_ICE_LIB AND X11_ICE_INCLUDE_PATH)
|
|
|
|
SET(X11_ICE_FOUND TRUE)
|
|
|
|
ENDIF(X11_ICE_LIB AND X11_ICE_INCLUDE_PATH)
|
|
|
|
|
2011-08-04 00:33:18 +04:00
|
|
|
IF(X11_SM_LIB AND X11_SM_INCLUDE_PATH)
|
|
|
|
SET(X11_SM_FOUND TRUE)
|
|
|
|
ENDIF(X11_SM_LIB AND X11_SM_INCLUDE_PATH)
|
|
|
|
|
|
|
|
|
2007-05-30 20:09:34 +04:00
|
|
|
# Deprecated variable for backwards compatibility with CMake 1.4
|
|
|
|
IF (X11_X11_INCLUDE_PATH AND X11_LIBRARIES)
|
|
|
|
SET(X11_FOUND 1)
|
|
|
|
ENDIF (X11_X11_INCLUDE_PATH AND X11_LIBRARIES)
|
2003-01-29 17:06:46 +03:00
|
|
|
|
2003-01-08 19:45:48 +03:00
|
|
|
IF(X11_FOUND)
|
2004-08-27 06:52:53 +04:00
|
|
|
INCLUDE(CheckFunctionExists)
|
|
|
|
INCLUDE(CheckLibraryExists)
|
2002-12-17 19:55:54 +03:00
|
|
|
|
|
|
|
# Translated from an autoconf-generated configure script.
|
|
|
|
# See libs.m4 in autoconf's m4 directory.
|
|
|
|
IF($ENV{ISC} MATCHES "^yes$")
|
2003-01-08 19:45:48 +03:00
|
|
|
SET(X11_X_EXTRA_LIBS -lnsl_s -linet)
|
2002-12-17 19:55:54 +03:00
|
|
|
ELSE($ENV{ISC} MATCHES "^yes$")
|
2003-01-08 19:45:48 +03:00
|
|
|
SET(X11_X_EXTRA_LIBS "")
|
2002-12-17 19:55:54 +03:00
|
|
|
|
|
|
|
# See if XOpenDisplay in X11 works by itself.
|
2003-01-29 17:06:46 +03:00
|
|
|
CHECK_LIBRARY_EXISTS("${X11_LIBRARIES}" "XOpenDisplay" "${X11_LIBRARY_DIR}" X11_LIB_X11_SOLO)
|
2003-01-08 19:45:48 +03:00
|
|
|
IF(NOT X11_LIB_X11_SOLO)
|
2002-12-17 19:55:54 +03:00
|
|
|
# Find library needed for dnet_ntoa.
|
2011-08-04 00:32:28 +04:00
|
|
|
CHECK_LIBRARY_EXISTS("dnet" "dnet_ntoa" "" X11_LIB_DNET_HAS_DNET_NTOA)
|
2003-01-08 19:45:48 +03:00
|
|
|
IF (X11_LIB_DNET_HAS_DNET_NTOA)
|
|
|
|
SET (X11_X_EXTRA_LIBS ${X11_X_EXTRA_LIBS} -ldnet)
|
|
|
|
ELSE (X11_LIB_DNET_HAS_DNET_NTOA)
|
2011-08-04 00:32:28 +04:00
|
|
|
CHECK_LIBRARY_EXISTS("dnet_stub" "dnet_ntoa" "" X11_LIB_DNET_STUB_HAS_DNET_NTOA)
|
2003-01-08 19:45:48 +03:00
|
|
|
IF (X11_LIB_DNET_STUB_HAS_DNET_NTOA)
|
|
|
|
SET (X11_X_EXTRA_LIBS ${X11_X_EXTRA_LIBS} -ldnet_stub)
|
|
|
|
ENDIF (X11_LIB_DNET_STUB_HAS_DNET_NTOA)
|
|
|
|
ENDIF (X11_LIB_DNET_HAS_DNET_NTOA)
|
|
|
|
ENDIF(NOT X11_LIB_X11_SOLO)
|
2002-12-17 19:55:54 +03:00
|
|
|
|
|
|
|
# Find library needed for gethostbyname.
|
|
|
|
CHECK_FUNCTION_EXISTS("gethostbyname" CMAKE_HAVE_GETHOSTBYNAME)
|
|
|
|
IF(NOT CMAKE_HAVE_GETHOSTBYNAME)
|
2011-08-04 00:32:28 +04:00
|
|
|
CHECK_LIBRARY_EXISTS("nsl" "gethostbyname" "" CMAKE_LIB_NSL_HAS_GETHOSTBYNAME)
|
2002-12-17 19:55:54 +03:00
|
|
|
IF (CMAKE_LIB_NSL_HAS_GETHOSTBYNAME)
|
2003-01-20 22:39:03 +03:00
|
|
|
SET (X11_X_EXTRA_LIBS ${X11_X_EXTRA_LIBS} -lnsl)
|
2002-12-17 19:55:54 +03:00
|
|
|
ELSE (CMAKE_LIB_NSL_HAS_GETHOSTBYNAME)
|
2011-08-04 00:32:28 +04:00
|
|
|
CHECK_LIBRARY_EXISTS("bsd" "gethostbyname" "" CMAKE_LIB_BSD_HAS_GETHOSTBYNAME)
|
2002-12-17 19:55:54 +03:00
|
|
|
IF (CMAKE_LIB_BSD_HAS_GETHOSTBYNAME)
|
2003-01-08 19:45:48 +03:00
|
|
|
SET (X11_X_EXTRA_LIBS ${X11_X_EXTRA_LIBS} -lbsd)
|
2002-12-17 19:55:54 +03:00
|
|
|
ENDIF (CMAKE_LIB_BSD_HAS_GETHOSTBYNAME)
|
|
|
|
ENDIF (CMAKE_LIB_NSL_HAS_GETHOSTBYNAME)
|
|
|
|
ENDIF(NOT CMAKE_HAVE_GETHOSTBYNAME)
|
|
|
|
|
|
|
|
# Find library needed for connect.
|
|
|
|
CHECK_FUNCTION_EXISTS("connect" CMAKE_HAVE_CONNECT)
|
|
|
|
IF(NOT CMAKE_HAVE_CONNECT)
|
2011-08-04 00:32:28 +04:00
|
|
|
CHECK_LIBRARY_EXISTS("socket" "connect" "" CMAKE_LIB_SOCKET_HAS_CONNECT)
|
2002-12-17 19:55:54 +03:00
|
|
|
IF (CMAKE_LIB_SOCKET_HAS_CONNECT)
|
2003-01-08 19:45:48 +03:00
|
|
|
SET (X11_X_EXTRA_LIBS -lsocket ${X11_X_EXTRA_LIBS})
|
2002-12-17 19:55:54 +03:00
|
|
|
ENDIF (CMAKE_LIB_SOCKET_HAS_CONNECT)
|
|
|
|
ENDIF(NOT CMAKE_HAVE_CONNECT)
|
|
|
|
|
|
|
|
# Find library needed for remove.
|
|
|
|
CHECK_FUNCTION_EXISTS("remove" CMAKE_HAVE_REMOVE)
|
|
|
|
IF(NOT CMAKE_HAVE_REMOVE)
|
2011-08-04 00:32:28 +04:00
|
|
|
CHECK_LIBRARY_EXISTS("posix" "remove" "" CMAKE_LIB_POSIX_HAS_REMOVE)
|
2002-12-17 19:55:54 +03:00
|
|
|
IF (CMAKE_LIB_POSIX_HAS_REMOVE)
|
2003-01-08 19:45:48 +03:00
|
|
|
SET (X11_X_EXTRA_LIBS ${X11_X_EXTRA_LIBS} -lposix)
|
2002-12-17 19:55:54 +03:00
|
|
|
ENDIF (CMAKE_LIB_POSIX_HAS_REMOVE)
|
|
|
|
ENDIF(NOT CMAKE_HAVE_REMOVE)
|
|
|
|
|
|
|
|
# Find library needed for shmat.
|
|
|
|
CHECK_FUNCTION_EXISTS("shmat" CMAKE_HAVE_SHMAT)
|
|
|
|
IF(NOT CMAKE_HAVE_SHMAT)
|
2011-08-04 00:32:28 +04:00
|
|
|
CHECK_LIBRARY_EXISTS("ipc" "shmat" "" CMAKE_LIB_IPS_HAS_SHMAT)
|
2002-12-17 19:55:54 +03:00
|
|
|
IF (CMAKE_LIB_IPS_HAS_SHMAT)
|
2003-01-08 19:45:48 +03:00
|
|
|
SET (X11_X_EXTRA_LIBS ${X11_X_EXTRA_LIBS} -lipc)
|
2002-12-17 19:55:54 +03:00
|
|
|
ENDIF (CMAKE_LIB_IPS_HAS_SHMAT)
|
|
|
|
ENDIF(NOT CMAKE_HAVE_SHMAT)
|
|
|
|
ENDIF($ENV{ISC} MATCHES "^yes$")
|
|
|
|
|
2007-05-30 20:09:34 +04:00
|
|
|
IF (X11_ICE_FOUND)
|
|
|
|
CHECK_LIBRARY_EXISTS("ICE" "IceConnectionNumber" "${X11_LIBRARY_DIR}"
|
|
|
|
CMAKE_LIB_ICE_HAS_ICECONNECTIONNUMBER)
|
|
|
|
IF(CMAKE_LIB_ICE_HAS_ICECONNECTIONNUMBER)
|
2008-01-21 00:02:38 +03:00
|
|
|
SET (X11_X_PRE_LIBS ${X11_ICE_LIB})
|
|
|
|
IF(X11_SM_LIB)
|
|
|
|
SET (X11_X_PRE_LIBS ${X11_SM_LIB} ${X11_X_PRE_LIBS})
|
|
|
|
ENDIF(X11_SM_LIB)
|
2007-05-30 20:09:34 +04:00
|
|
|
ENDIF(CMAKE_LIB_ICE_HAS_ICECONNECTIONNUMBER)
|
|
|
|
ENDIF (X11_ICE_FOUND)
|
|
|
|
|
2002-12-17 19:55:54 +03:00
|
|
|
# Build the final list of libraries.
|
2007-05-30 20:09:34 +04:00
|
|
|
SET(X11_LIBRARIES ${X11_X_PRE_LIBS} ${X11_LIBRARIES} ${X11_X_EXTRA_LIBS})
|
|
|
|
|
2008-03-17 18:10:42 +03:00
|
|
|
INCLUDE(FindPackageMessage)
|
|
|
|
FIND_PACKAGE_MESSAGE(X11 "Found X11: ${X11_X11_LIB}"
|
|
|
|
"[${X11_X11_LIB}][${X11_INCLUDE_DIR}]")
|
2007-05-30 20:09:34 +04:00
|
|
|
ELSE (X11_FOUND)
|
|
|
|
IF (X11_FIND_REQUIRED)
|
|
|
|
MESSAGE(FATAL_ERROR "Could not find X11")
|
|
|
|
ENDIF (X11_FIND_REQUIRED)
|
|
|
|
ENDIF (X11_FOUND)
|
2002-12-17 19:55:54 +03:00
|
|
|
|
2002-11-06 01:20:45 +03:00
|
|
|
MARK_AS_ADVANCED(
|
2003-01-08 19:45:48 +03:00
|
|
|
X11_X11_INCLUDE_PATH
|
|
|
|
X11_X11_LIB
|
|
|
|
X11_Xext_LIB
|
2007-05-30 20:09:34 +04:00
|
|
|
X11_Xau_LIB
|
2007-06-08 18:28:52 +04:00
|
|
|
X11_Xau_INCLUDE_PATH
|
2003-01-08 19:45:48 +03:00
|
|
|
X11_Xlib_INCLUDE_PATH
|
|
|
|
X11_Xutil_INCLUDE_PATH
|
2007-05-30 20:09:34 +04:00
|
|
|
X11_Xcomposite_INCLUDE_PATH
|
|
|
|
X11_Xcomposite_LIB
|
|
|
|
X11_Xaccess_INCLUDE_PATH
|
|
|
|
X11_Xfixes_LIB
|
|
|
|
X11_Xfixes_INCLUDE_PATH
|
|
|
|
X11_Xrandr_LIB
|
|
|
|
X11_Xrandr_INCLUDE_PATH
|
|
|
|
X11_Xdamage_LIB
|
|
|
|
X11_Xdamage_INCLUDE_PATH
|
|
|
|
X11_Xrender_LIB
|
|
|
|
X11_Xrender_INCLUDE_PATH
|
2011-11-09 15:22:32 +04:00
|
|
|
X11_XRes_LIB
|
|
|
|
X11_XRes_INCLUDE_PATH
|
2007-05-30 20:09:34 +04:00
|
|
|
X11_Xxf86misc_LIB
|
2008-01-04 19:56:18 +03:00
|
|
|
X11_xf86misc_INCLUDE_PATH
|
2007-05-30 20:09:34 +04:00
|
|
|
X11_xf86vmode_INCLUDE_PATH
|
2010-03-17 19:45:24 +03:00
|
|
|
X11_Xi_LIB
|
|
|
|
X11_Xi_INCLUDE_PATH
|
2007-05-30 20:09:34 +04:00
|
|
|
X11_Xinerama_LIB
|
|
|
|
X11_Xinerama_INCLUDE_PATH
|
|
|
|
X11_XTest_LIB
|
|
|
|
X11_XTest_INCLUDE_PATH
|
|
|
|
X11_Xcursor_LIB
|
|
|
|
X11_Xcursor_INCLUDE_PATH
|
|
|
|
X11_dpms_INCLUDE_PATH
|
|
|
|
X11_Xt_LIB
|
2007-06-08 18:28:52 +04:00
|
|
|
X11_Xt_INCLUDE_PATH
|
2007-05-30 20:09:34 +04:00
|
|
|
X11_Xdmcp_LIB
|
2003-01-08 19:45:48 +03:00
|
|
|
X11_LIBRARIES
|
2007-05-30 20:09:34 +04:00
|
|
|
X11_Xaccessrules_INCLUDE_PATH
|
|
|
|
X11_Xaccessstr_INCLUDE_PATH
|
|
|
|
X11_Xdmcp_INCLUDE_PATH
|
|
|
|
X11_Xkb_INCLUDE_PATH
|
|
|
|
X11_Xkblib_INCLUDE_PATH
|
2011-08-04 00:33:18 +04:00
|
|
|
X11_Xkbfile_INCLUDE_PATH
|
|
|
|
X11_Xkbfile_LIB
|
2012-02-08 23:15:20 +04:00
|
|
|
X11_Xmu_INCLUDE_PATH
|
|
|
|
X11_Xmu_LIB
|
2007-05-30 20:09:34 +04:00
|
|
|
X11_Xscreensaver_INCLUDE_PATH
|
2007-06-08 18:28:52 +04:00
|
|
|
X11_Xscreensaver_LIB
|
2007-05-30 20:09:34 +04:00
|
|
|
X11_Xpm_INCLUDE_PATH
|
|
|
|
X11_Xpm_LIB
|
|
|
|
X11_Xinput_LIB
|
|
|
|
X11_Xinput_INCLUDE_PATH
|
|
|
|
X11_Xft_LIB
|
|
|
|
X11_Xft_INCLUDE_PATH
|
|
|
|
X11_Xshape_INCLUDE_PATH
|
|
|
|
X11_Xv_LIB
|
|
|
|
X11_Xv_INCLUDE_PATH
|
|
|
|
X11_XShm_INCLUDE_PATH
|
|
|
|
X11_ICE_LIB
|
|
|
|
X11_ICE_INCLUDE_PATH
|
2008-05-03 23:27:40 +04:00
|
|
|
X11_SM_LIB
|
2011-08-04 00:33:18 +04:00
|
|
|
X11_SM_INCLUDE_PATH
|
|
|
|
X11_XSync_INCLUDE_PATH
|
2007-05-30 20:09:34 +04:00
|
|
|
)
|
2006-04-14 23:08:25 +04:00
|
|
|
SET(CMAKE_FIND_FRAMEWORK ${CMAKE_FIND_FRAMEWORK_SAVE})
|
2002-09-02 23:46:04 +04:00
|
|
|
ENDIF (UNIX)
|
2007-05-30 20:09:34 +04:00
|
|
|
|
|
|
|
# X11_FIND_REQUIRED_<component> could be checked too
|