summaryrefslogtreecommitdiffstats
path: root/Modules
diff options
context:
space:
mode:
authorWill Schroeder <will.schroeder@kitware.com>2003-01-20 19:39:03 (GMT)
committerWill Schroeder <will.schroeder@kitware.com>2003-01-20 19:39:03 (GMT)
commitece369eaf3bb463a4a9675f1aed69199ce8b3832 (patch)
tree1ee735683061f3d31feab1642998e8bad2634e99 /Modules
parent6d54cfb030c337e3c29814cd530913d99635ff5b (diff)
downloadCMake-ece369eaf3bb463a4a9675f1aed69199ce8b3832.zip
CMake-ece369eaf3bb463a4a9675f1aed69199ce8b3832.tar.gz
CMake-ece369eaf3bb463a4a9675f1aed69199ce8b3832.tar.bz2
BUG: fix missed CMAKE to X11 variable name
Diffstat (limited to 'Modules')
-rw-r--r--Modules/FindX11.cmake3
1 files changed, 1 insertions, 2 deletions
diff --git a/Modules/FindX11.cmake b/Modules/FindX11.cmake
index 36f808a..ed5cbf9 100644
--- a/Modules/FindX11.cmake
+++ b/Modules/FindX11.cmake
@@ -90,7 +90,7 @@ IF (UNIX)
IF(NOT CMAKE_HAVE_GETHOSTBYNAME)
CHECK_LIBRARY_EXISTS("nsl" "gethostbyname" "" CMAKE_LIB_NSL_HAS_GETHOSTBYNAME)
IF (CMAKE_LIB_NSL_HAS_GETHOSTBYNAME)
- SET (CMAKE_X_EXTRA_LIBS ${CMAKE_X_EXTRA_LIBS} -lnsl)
+ SET (X11_X_EXTRA_LIBS ${X11_X_EXTRA_LIBS} -lnsl)
ELSE (CMAKE_LIB_NSL_HAS_GETHOSTBYNAME)
CHECK_LIBRARY_EXISTS("bsd" "gethostbyname" "" CMAKE_LIB_BSD_HAS_GETHOSTBYNAME)
IF (CMAKE_LIB_BSD_HAS_GETHOSTBYNAME)
@@ -132,7 +132,6 @@ IF (UNIX)
IF(CMAKE_LIB_ICE_HAS_ICECONNECTIONNUMBER)
SET (X11_X_PRE_LIBS -lSM -lICE)
ENDIF(CMAKE_LIB_ICE_HAS_ICECONNECTIONNUMBER)
-
# Build the final list of libraries.
SET (X11_LIBRARIES ${X11_X_PRE_LIBS} ${X11_LIBRARIES} ${X11_X_EXTRA_LIBS})
ENDIF(X11_FOUND)