This commit is contained in:
eagleivg 2018-06-20 14:55:28 +00:00 committed by GitHub
commit b18ed38e4a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -41,6 +41,7 @@ if(BUILD_SHARED_LIBS)
add_library(pugixml SHARED ${HEADERS} ${SOURCES})
else()
add_library(pugixml STATIC ${HEADERS} ${SOURCES})
set_property(TARGET pugixml PROPERTY POSITION_INDEPENDENT_CODE ON)
endif()
# Export symbols for shared library builds