Skip to content

Commit 41b6ff2

Browse files
authored
Merge pull request #316 from BotellaA/patch-1
Add POSITION_INDEPENDENT_CODE option
2 parents 53a30c6 + aa2e090 commit 41b6ff2

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

CMakeLists.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -85,6 +85,7 @@ set_target_properties(pugixml-shared pugixml-static pugixml
8585
PROPERTIES
8686
MSVC_RUNTIME_LIBRARY ${CMAKE_MSVC_RUNTIME_LIBRARY}
8787
EXCLUDE_FROM_ALL ON
88+
POSITION_INDEPENDENT_CODE ON
8889
SOVERSION ${PROJECT_VERSION_MAJOR}
8990
VERSION ${PROJECT_VERSION})
9091

0 commit comments

Comments
 (0)