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