Merge pull request #316 from BotellaA/patch-1
Add POSITION_INDEPENDENT_CODE option
This commit is contained in:
commit
41b6ff21c4
1 changed files with 1 additions and 0 deletions
|
@ -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})
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue