Merge pull request #1053 from Bigpet/cmake_err

Stop overwriting the ADDITIONAL_LIBS setting for CMake.
This commit is contained in:
Hykem 2015-04-11 13:09:19 +01:00
commit 18b8a7d473

View file

@ -44,8 +44,7 @@ endif()
if(${CMAKE_SYSTEM_NAME} MATCHES "Linux") if(${CMAKE_SYSTEM_NAME} MATCHES "Linux")
#on some Linux distros shm_unlink and similar functions are in librt only #on some Linux distros shm_unlink and similar functions are in librt only
set(ADDITIONAL_LIBS "rt") set(ADDITIONAL_LIBS "rt" "X11")
set(ADDITIONAL_LIBS "X11")
elseif(UNIX) elseif(UNIX)
#it seems like glibc includes the iconv functions we use but other libc #it seems like glibc includes the iconv functions we use but other libc
#implementations like the one on OSX don't seem implement them #implementations like the one on OSX don't seem implement them