links zlib on mac if found
This commit is contained in:
parent
5dbab6ba11
commit
0e4aeb135a
1 changed files with 7 additions and 0 deletions
|
|
@ -341,6 +341,13 @@ if(WIN32)
|
|||
|
||||
endif(WIN32)
|
||||
|
||||
if(APPLE)
|
||||
find_package( ZLIB REQUIRED )
|
||||
if ( ZLIB_FOUND )
|
||||
target_link_libraries( fc PUBLIC ${ZLIB_LIBRARIES} )
|
||||
endif()
|
||||
endif()
|
||||
|
||||
SET(OPENSSL_CONF_TARGET )
|
||||
IF(DEFINED CMAKE_RUNTIME_OUTPUT_DIRECTORY)
|
||||
SET (OPENSSL_CONF_TARGET ${CMAKE_RUNTIME_OUTPUT_DIRECTORY})
|
||||
|
|
|
|||
Loading…
Reference in a new issue