summaryrefslogtreecommitdiff
path: root/Modules/FindX11.cmake
diff options
context:
space:
mode:
Diffstat (limited to 'Modules/FindX11.cmake')
-rw-r--r--Modules/FindX11.cmake2
1 files changed, 1 insertions, 1 deletions
diff --git a/Modules/FindX11.cmake b/Modules/FindX11.cmake
index 7d203cca6a..7e0695d659 100644
--- a/Modules/FindX11.cmake
+++ b/Modules/FindX11.cmake
@@ -45,7 +45,7 @@ IF (UNIX)
SET( X11_Xext_FOUND "YES")
ENDIF(X11_Xext_LIBRARY)
- ENDIF(X11_INCLUDE_PATH)
+ ENDIF(X11_INCLUDE_DIR)
# Deprecated variable fro backwards compatibility with CMake 1.4
SET (X11_LIBRARY ${X11_X11_LIBRARY})