mirror of
https://github.com/tfussell/xlnt.git
synced 2024-03-22 13:11:17 +08:00
compile libstudxml as pic when building shared xlnt [ci skip]
This commit is contained in:
parent
e4ec1a2850
commit
0def63d86f
4
third-party/CMakeLists.txt
vendored
4
third-party/CMakeLists.txt
vendored
|
@ -56,3 +56,7 @@ add_custom_command(TARGET libstudxml-config PRE_BUILD
|
|||
copy ${CMAKE_CURRENT_SOURCE_DIR}/../source/detail/xml/details/config.h
|
||||
${LIBSTUDXML_ROOT_DIR}/xml/details)
|
||||
add_dependencies(libstudxml libstudxml-config)
|
||||
|
||||
if(NOT STATIC)
|
||||
set_target_properties(libstudxml PROPERTIES POSITION_INDEPENDENT_CODE 1)
|
||||
endif()
|
||||
|
|
Loading…
Reference in New Issue
Block a user