mirror of
https://github.com/jmcnamara/libxlsxwriter.git
synced 2026-05-15 14:15:54 -06:00
Link ZLIB to library (required for shared libraries)
This commit is contained in:
parent
801daf7868
commit
bf6e50d6b2
1 changed files with 2 additions and 0 deletions
|
|
@ -143,6 +143,8 @@ else()
|
|||
add_library(${PROJECT_NAME} SHARED ${LXW_SOURCES})
|
||||
endif()
|
||||
|
||||
target_link_libraries(${PROJECT_NAME} ${ZLIB_LIBRARIES})
|
||||
|
||||
if(MSVC)
|
||||
add_custom_command(TARGET ${PROJECT_NAME} POST_BUILD
|
||||
COMMAND ${CMAKE_COMMAND} -E rename
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue