1

Conditionally include libiconv on windows

This commit is contained in:
Alex Yatskov 2016-12-03 18:36:30 -08:00
parent be0bcdfd0c
commit 86f975d791

View File

@ -4,3 +4,6 @@ include_directories(eb)
link_directories(eb/eb/.libs jansson/lib)
add_executable(zero-epwing main.c book.c font.c convert.c hooks.c)
target_link_libraries(zero-epwing libm.a libeb.a libm.a libz.a libjansson.a)
if (WIN32)
target_link_libraries(zero-epwing libiconv.a)
endif (WIN32)