summaryrefslogtreecommitdiffstats
path: root/Modules
diff options
context:
space:
mode:
authorBen Boeckel <ben.boeckel@kitware.com>2018-11-12 20:49:33 (GMT)
committerBen Boeckel <ben.boeckel@kitware.com>2018-11-12 21:10:13 (GMT)
commit99489d9f10ac23da29c0ed2ed9bd371946df0991 (patch)
treec2180485b4996919a4d3b6c368d03d9939eb321f /Modules
parentb8b598061a3968bcf3998040a3ca76a085592c83 (diff)
downloadCMake-99489d9f10ac23da29c0ed2ed9bd371946df0991.zip
CMake-99489d9f10ac23da29c0ed2ed9bd371946df0991.tar.gz
CMake-99489d9f10ac23da29c0ed2ed9bd371946df0991.tar.bz2
FindX11: find Xext.h
Diffstat (limited to 'Modules')
-rw-r--r--Modules/FindX11.cmake4
1 files changed, 3 insertions, 1 deletions
diff --git a/Modules/FindX11.cmake b/Modules/FindX11.cmake
index e425008..b7ab0b0 100644
--- a/Modules/FindX11.cmake
+++ b/Modules/FindX11.cmake
@@ -29,7 +29,7 @@ and also the following more fine grained variables:
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
+ X11_Xext_INCLUDE_PATH, X11_Xext_LIB, X11_Xext_FOUND
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
@@ -97,6 +97,7 @@ if (UNIX)
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_Xext_INCLUDE_PATH X11/extensions/Xext.h ${X11_INC_SEARCH_PATH})
find_path(X11_dpms_INCLUDE_PATH X11/extensions/dpms.h ${X11_INC_SEARCH_PATH})
find_path(X11_Xxf86misc_INCLUDE_PATH X11/extensions/xf86misc.h ${X11_INC_SEARCH_PATH})
find_path(X11_Xxf86vm_INCLUDE_PATH X11/extensions/xf86vmode.h ${X11_INC_SEARCH_PATH})
@@ -450,6 +451,7 @@ if (UNIX)
mark_as_advanced(
X11_X11_INCLUDE_PATH
X11_X11_LIB
+ X11_Xext_INCLUDE_PATH
X11_Xext_LIB
X11_Xau_LIB
X11_Xau_INCLUDE_PATH