diff options
author | Will Schroeder <will.schroeder@kitware.com> | 2003-01-20 14:39:03 -0500 |
---|---|---|
committer | Will Schroeder <will.schroeder@kitware.com> | 2003-01-20 14:39:03 -0500 |
commit | ece369eaf3bb463a4a9675f1aed69199ce8b3832 (patch) | |
tree | 1ee735683061f3d31feab1642998e8bad2634e99 /Modules/FindX11.cmake | |
parent | 6d54cfb030c337e3c29814cd530913d99635ff5b (diff) | |
download | cmake-ece369eaf3bb463a4a9675f1aed69199ce8b3832.tar.gz |
BUG: fix missed CMAKE to X11 variable name
Diffstat (limited to 'Modules/FindX11.cmake')
-rw-r--r-- | Modules/FindX11.cmake | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/Modules/FindX11.cmake b/Modules/FindX11.cmake index 36f808ae22..ed5cbf9b31 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) |