mirror of
https://github.com/corda/corda.git
synced 2025-02-28 20:06:25 +00:00
fix zlib headers / linking for windows
This commit is contained in:
parent
ef3f77695c
commit
d8e0f5cc06
@ -13,3 +13,6 @@ ELSE()
|
|||||||
SET(PLATFORM_CXX_FLAGS "-Wall -Werror -fno-exceptions -std=c++0x")
|
SET(PLATFORM_CXX_FLAGS "-Wall -Werror -fno-exceptions -std=c++0x")
|
||||||
SET(PLATFORM_LIBS ${PLATFORM_LIBS} pthread dl)
|
SET(PLATFORM_LIBS ${PLATFORM_LIBS} pthread dl)
|
||||||
ENDIF()
|
ENDIF()
|
||||||
|
|
||||||
|
find_package(ZLIB REQUIRED)
|
||||||
|
include_directories(${ZLIB_INCLUDE_DIRS})
|
||||||
|
@ -4,8 +4,6 @@ target_link_libraries(type_generator
|
|||||||
avian_jvm_finder
|
avian_jvm_finder
|
||||||
avian_system
|
avian_system
|
||||||
avian_util
|
avian_util
|
||||||
z
|
${ZLIB_LIBRARIES}
|
||||||
pthread
|
|
||||||
dl
|
|
||||||
${PLATFORM_LIBS}
|
${PLATFORM_LIBS}
|
||||||
)
|
)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user