diff --git a/cmake/configure.cmake b/cmake/configure.cmake
index c3cc787..6193481 100644
a
|
b
|
IF(UNIX) |
149 | 149 | SET(CMAKE_REQUIRED_LIBRARIES |
150 | 150 | ${LIBM} ${LIBNSL} ${LIBBIND} ${LIBCRYPT} ${LIBSOCKET} ${LIBDL} ${CMAKE_THREAD_LIBS_INIT} ${LIBRT}) |
151 | 151 | |
152 | | LIST(REMOVE_DUPLICATES CMAKE_REQUIRED_LIBRARIES) |
| 152 | IF(CMAKE_REQUIRED_LIBRARIES) |
| 153 | LIST(REMOVE_DUPLICATES CMAKE_REQUIRED_LIBRARIES) |
| 154 | ENDIF() |
153 | 155 | LINK_LIBRARIES(${CMAKE_THREAD_LIBS_INIT}) |
154 | 156 | |
155 | 157 | OPTION(WITH_LIBWRAP "Compile with tcp wrappers support" OFF) |