summaryrefslogtreecommitdiff
path: root/Source/Core/Common
diff options
context:
space:
mode:
authorGlenn Rice <glennricster@gmail.com>2011-01-31 02:13:10 +0000
committerGlenn Rice <glennricster@gmail.com>2011-01-31 02:13:10 +0000
commitf1e8da63ec8b5e0725b79ad63b635b2328a4e615 (patch)
tree7b1839744b12c391aba9a4058e3c20d39a68588b /Source/Core/Common
parentcb48f5969a177dcc197783baa1a11493b61fc7d2 (diff)
Linux build fix.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@6999 8ced0084-cf51-0410-be5f-012b33b47a6e
Diffstat (limited to 'Source/Core/Common')
-rw-r--r--Source/Core/Common/CMakeLists.txt5
1 files changed, 1 insertions, 4 deletions
diff --git a/Source/Core/Common/CMakeLists.txt b/Source/Core/Common/CMakeLists.txt
index 11cde5301c..ea8b0dea58 100644
--- a/Source/Core/Common/CMakeLists.txt
+++ b/Source/Core/Common/CMakeLists.txt
@@ -41,7 +41,4 @@ endif(WIN32)
enable_precompiled_headers(Src/stdafx.h Src/stdafx.cpp SRCS)
add_library(common STATIC ${SRCS})
-target_link_libraries(common ${CMAKE_DL_LIBS} ${CMAKE_THREAD_LIBS_INIT})
-if(${CMAKE_SYSTEM_NAME} MATCHES "Linux")
- add_definitions(-fPIC)
-endif()
+target_link_libraries(common clrun ${CMAKE_DL_LIBS} ${CMAKE_THREAD_LIBS_INIT})