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