Stop overwriting the ADDITIONAL_LIBS setting for CMake.

This commit is contained in:
luxsie authored and Peter Tissen committed 2015-04-09 00:09:03 +02:00
1 parent 952098c00f
commit 080e42ec9f
1 file changed
+1 -2
+1 -2
View File
@@ -44,8 +44,7 @@ endif()
if(${CMAKE_SYSTEM_NAME} MATCHES "Linux")
#on some Linux distros shm_unlink and similar functions are in librt only
set(ADDITIONAL_LIBS "rt")
set(ADDITIONAL_LIBS "X11")
set(ADDITIONAL_LIBS "rt" "X11")
elseif(UNIX)
#it seems like glibc includes the iconv functions we use but other libc
#implementations like the one on OSX don't seem implement them