summaryrefslogtreecommitdiff
path: root/depends/md5
diff options
context:
space:
mode:
Diffstat (limited to 'depends/md5')
-rw-r--r--depends/md5/CMakeLists.txt3
1 files changed, 2 insertions, 1 deletions
diff --git a/depends/md5/CMakeLists.txt b/depends/md5/CMakeLists.txt
index 69e0cf0b..df14e3c5 100644
--- a/depends/md5/CMakeLists.txt
+++ b/depends/md5/CMakeLists.txt
@@ -1,3 +1,4 @@
project(dfhack-md5)
ADD_LIBRARY(dfhack-md5 STATIC EXCLUDE_FROM_ALL md5.cpp md5wrapper.cpp)
-IDE_FOLDER(dfhack-md5 "Depends") \ No newline at end of file
+set_target_properties(dfhack-md5 PROPERTIES POSITION_INDEPENDENT_CODE True)
+IDE_FOLDER(dfhack-md5 "Depends")