mirror of
https://github.com/jmcnamara/libxlsxwriter
synced 2025-03-28 21:13:14 +00:00
Link ZLIB to library (required for shared libraries)
This commit is contained in:
parent
801daf7868
commit
bf6e50d6b2
@ -143,6 +143,8 @@ else()
|
|||||||
add_library(${PROJECT_NAME} SHARED ${LXW_SOURCES})
|
add_library(${PROJECT_NAME} SHARED ${LXW_SOURCES})
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
|
target_link_libraries(${PROJECT_NAME} ${ZLIB_LIBRARIES})
|
||||||
|
|
||||||
if(MSVC)
|
if(MSVC)
|
||||||
add_custom_command(TARGET ${PROJECT_NAME} POST_BUILD
|
add_custom_command(TARGET ${PROJECT_NAME} POST_BUILD
|
||||||
COMMAND ${CMAKE_COMMAND} -E rename
|
COMMAND ${CMAKE_COMMAND} -E rename
|
||||||
|
Loading…
x
Reference in New Issue
Block a user