diff --git a/CMakeLists.txt b/CMakeLists.txt index 46a44ba..d3d7bf4 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -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)