diff options
author | Arseny Kapoulkine <arseny.kapoulkine@gmail.com> | 2019-12-20 08:13:28 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-12-20 08:13:28 -0800 |
commit | 41b6ff21c455865bb8ef67c5952b7f895b62bacc (patch) | |
tree | e1862dae4fc36376fca4087c28a55fead90ee17b | |
parent | 53a30c65712245ff569a0660094ad71550fb7566 (diff) | |
parent | aa2e0909acb05c94951fac2752b20ac3abc08374 (diff) | |
download | pugixml-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.txt | 1 |
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}) |