From 080e42ec9fda4aef3153b4aed0ba2d376ade8b27 Mon Sep 17 00:00:00 2001 From: luxsie Date: Wed, 8 Apr 2015 23:04:01 +0800 Subject: [PATCH] Stop overwriting the ADDITIONAL_LIBS setting for CMake. --- rpcs3/CMakeLists.txt | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/rpcs3/CMakeLists.txt b/rpcs3/CMakeLists.txt index 11d668aebd..4681657712 100644 --- a/rpcs3/CMakeLists.txt +++ b/rpcs3/CMakeLists.txt @@ -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