Conditionally include libiconv on windows
This commit is contained in:
parent
be0bcdfd0c
commit
86f975d791
@ -4,3 +4,6 @@ include_directories(eb)
|
|||||||
link_directories(eb/eb/.libs jansson/lib)
|
link_directories(eb/eb/.libs jansson/lib)
|
||||||
add_executable(zero-epwing main.c book.c font.c convert.c hooks.c)
|
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)
|
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)
|
||||||
|
Loading…
Reference in New Issue
Block a user