fix zlib headers / linking for windows

This commit is contained in:
Joshua Warner 2014-07-29 15:31:17 -06:00
parent ef3f77695c
commit d8e0f5cc06
2 changed files with 4 additions and 3 deletions

View File

@ -13,3 +13,6 @@ ELSE()
SET(PLATFORM_CXX_FLAGS "-Wall -Werror -fno-exceptions -std=c++0x")
SET(PLATFORM_LIBS ${PLATFORM_LIBS} pthread dl)
ENDIF()
find_package(ZLIB REQUIRED)
include_directories(${ZLIB_INCLUDE_DIRS})

View File

@ -4,8 +4,6 @@ target_link_libraries(type_generator
avian_jvm_finder
avian_system
avian_util
z
pthread
dl
${ZLIB_LIBRARIES}
${PLATFORM_LIBS}
)