mirror of
https://github.com/tfussell/xlnt.git
synced 2024-03-22 13:11:17 +08:00
link expat correctly
This commit is contained in:
parent
11fb80ceaf
commit
eb078dce99
5
third-party/libstudxml/CMakeLists.txt
vendored
5
third-party/libstudxml/CMakeLists.txt
vendored
|
@ -32,9 +32,10 @@ target_compile_definitions(libstudxml
|
|||
PUBLIC LIBSTUDXML_STATIC_LIB=1
|
||||
PUBLIC LIBSTUDXML_EXTERNAL_EXPAT=1)
|
||||
target_include_directories(libstudxml
|
||||
PUBLIC ${LIBSTUDXML_ROOT_DIR})
|
||||
PUBLIC ${LIBSTUDXML_ROOT_DIR}
|
||||
PUBLIC ${EXPAT_INCLUDE_DIRS})
|
||||
target_link_libraries(libstudxml
|
||||
PRIVATE expat)
|
||||
PRIVATE ${EXPAT_LIBRARIES})
|
||||
|
||||
if(NOT STATIC)
|
||||
set_target_properties(libstudxml PROPERTIES POSITION_INDEPENDENT_CODE 1)
|
||||
|
|
Loading…
Reference in New Issue
Block a user