aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArseny Kapoulkine <arseny.kapoulkine@gmail.com>2019-12-20 08:13:28 -0800
committerGitHub <noreply@github.com>2019-12-20 08:13:28 -0800
commit41b6ff21c455865bb8ef67c5952b7f895b62bacc (patch)
treee1862dae4fc36376fca4087c28a55fead90ee17b
parent53a30c65712245ff569a0660094ad71550fb7566 (diff)
parentaa2e0909acb05c94951fac2752b20ac3abc08374 (diff)
downloadpugixml-41b6ff21c455865bb8ef67c5952b7f895b62bacc.zip
pugixml-41b6ff21c455865bb8ef67c5952b7f895b62bacc.tar.gz
pugixml-41b6ff21c455865bb8ef67c5952b7f895b62bacc.tar.bz2
Merge pull request #316 from BotellaA/patch-1
Add POSITION_INDEPENDENT_CODE option
-rw-r--r--CMakeLists.txt1
1 files changed, 1 insertions, 0 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index e5b49ca..5ff6dce 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -85,6 +85,7 @@ set_target_properties(pugixml-shared pugixml-static pugixml
PROPERTIES
MSVC_RUNTIME_LIBRARY ${CMAKE_MSVC_RUNTIME_LIBRARY}
EXCLUDE_FROM_ALL ON
+ POSITION_INDEPENDENT_CODE ON
SOVERSION ${PROJECT_VERSION_MAJOR}
VERSION ${PROJECT_VERSION})