1

configure for osx

This commit is contained in:
Alex Yatskov 2017-01-29 21:10:24 -08:00
parent 5b85c55085
commit 0c0deac205

View File

@ -4,6 +4,7 @@ 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 convert.c hooks.c) add_executable(zero-epwing main.c book.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) if (WIN32 OR APPLE)
target_link_libraries(zero-epwing libiconv.a) target_link_libraries(zero-epwing libiconv.a)
endif (WIN32) endif (WIN32 OR APPLE)
target_link_libraries(zero-epwing libiconv.a)