summaryrefslogtreecommitdiff
path: root/Source/Core/Common
diff options
context:
space:
mode:
Diffstat (limited to 'Source/Core/Common')
-rw-r--r--Source/Core/Common/CMakeLists.txt3
1 files changed, 3 insertions, 0 deletions
diff --git a/Source/Core/Common/CMakeLists.txt b/Source/Core/Common/CMakeLists.txt
index e7aded6b8e..e573f32d05 100644
--- a/Source/Core/Common/CMakeLists.txt
+++ b/Source/Core/Common/CMakeLists.txt
@@ -40,3 +40,6 @@ if(WIN32)
endif(WIN32)
add_library(common STATIC ${SRCS})
+if(UNIX)
+ add_definitions(-fPIC)
+endif(UNIX)