make zlib part of xlnt's link interface

This commit is contained in:
Thomas Fussell 2017-03-11 10:22:59 -05:00
parent ffc8c76f0a
commit 924b5a4a71

View File

@ -132,7 +132,7 @@ add_dependencies(xlnt xlnt.third-party)
target_link_libraries(xlnt PRIVATE libstudxml)
target_include_directories(xlnt PUBLIC ${XLNT_INCLUDE_DIR})
target_include_directories(xlnt PRIVATE ${XLNT_SOURCE_DIR})
target_link_libraries(xlnt PRIVATE ${ZLIB_LIBRARY_RELEASE})
target_link_libraries(xlnt PUBLIC ${ZLIB_LIBRARY_RELEASE})
target_include_directories(xlnt PRIVATE ${ZLIB_INCLUDE_DIR})
target_link_libraries(xlnt PRIVATE ${CRYPTOPP_LIBRARY_RELEASE})
target_include_directories(xlnt PRIVATE ${CRYPTOPP_INCLUDE_DIR})