some OS X fixes

This commit is contained in:
stopiccot
2013-10-07 01:19:02 +00:00
parent aa7ab847c7
commit cbc8cde10a
4 changed files with 10 additions and 3 deletions
+4 -1
View File
@@ -12,6 +12,9 @@ set(lib_SRCS
)
add_library(minizip SHARED ${lib_SRCS})
set_target_properties(minizip PROPERTIES XCODE_ATTRIBUTE_LD_DYLIB_INSTALL_NAME "@executable_path/libminizip.dylib")
target_link_libraries(minizip ${ZLIB_LIBRARIES})
install(TARGETS minizip DESTINATION ${LIB_DIR})
if (NOT APPLE) # Already inside vcmiclient bundle
install(TARGETS minizip DESTINATION ${LIB_DIR})
endif()