diff options
author | Bill Hoffman <bill.hoffman@kitware.com> | 2002-11-13 16:49:33 (GMT) |
---|---|---|
committer | Bill Hoffman <bill.hoffman@kitware.com> | 2002-11-13 16:49:33 (GMT) |
commit | fce9bf48c5e8825a8a61f046bbdb25029d669573 (patch) | |
tree | 87b0df374af4c8ee59525f69f17623c9da283a57 /Modules/FindX11.cmake | |
parent | 09b9a38ff32ad38dac3ed9001dfbb1720cf5e4b9 (diff) | |
download | CMake-fce9bf48c5e8825a8a61f046bbdb25029d669573.zip CMake-fce9bf48c5e8825a8a61f046bbdb25029d669573.tar.gz CMake-fce9bf48c5e8825a8a61f046bbdb25029d669573.tar.bz2 |
fix for nsl library and X11
Diffstat (limited to 'Modules/FindX11.cmake')
-rw-r--r-- | Modules/FindX11.cmake | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Modules/FindX11.cmake b/Modules/FindX11.cmake index d72a4f6..05e4d59 100644 --- a/Modules/FindX11.cmake +++ b/Modules/FindX11.cmake @@ -91,7 +91,7 @@ IF (UNIX) INCLUDE (${CMAKE_ROOT}/Modules/CheckLibraryExists.cmake) CHECK_LIBRARY_EXISTS("nsl" "gethostbyname" "" CMAKE_HAVE_GETHOSTBYNAME) IF (CMAKE_HAVE_GETHOSTBYNAME) - SET (CMAKE_X_EXTRA_LIBS "${CMAKE_X_EXTRA_LIBS};-nsl") + SET (CMAKE_X_EXTRA_LIBS "${CMAKE_X_EXTRA_LIBS};-lnsl") ENDIF (CMAKE_HAVE_GETHOSTBYNAME) CHECK_LIBRARY_EXISTS("socket" "connect" "" CMAKE_HAVE_SOCKET_LIBRARY) IF (CMAKE_HAVE_SOCKET_LIBRARY) |