Commit 943a778e authored by Georgi Kodinov's avatar Georgi Kodinov

Fixed a cmake compile problem because of the 2.8.8 fix.

parent 672395db
...@@ -149,8 +149,9 @@ IF(UNIX) ...@@ -149,8 +149,9 @@ IF(UNIX)
SET(CMAKE_REQUIRED_LIBRARIES SET(CMAKE_REQUIRED_LIBRARIES
${LIBM} ${LIBNSL} ${LIBBIND} ${LIBCRYPT} ${LIBSOCKET} ${LIBDL} ${CMAKE_THREAD_LIBS_INIT} ${LIBRT}) ${LIBM} ${LIBNSL} ${LIBBIND} ${LIBCRYPT} ${LIBSOCKET} ${LIBDL} ${CMAKE_THREAD_LIBS_INIT} ${LIBRT})
IF(NOT ${CMAKE_REQUIRED_LIBRARIES} MATCHES '') LIST(LENGTH CMAKE_REQUIRED_LIBRARIES required_libs_length)
LIST(REMOVE_DUPLICATES ${CMAKE_REQUIRED_LIBRARIES}) IF(${required_libs_length} GREATER 0)
LIST(REMOVE_DUPLICATES CMAKE_REQUIRED_LIBRARIES)
ENDIF() ENDIF()
LINK_LIBRARIES(${CMAKE_THREAD_LIBS_INIT}) LINK_LIBRARIES(${CMAKE_THREAD_LIBS_INIT})
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment