# HG changeset patch # User koda # Date 1369352703 -7200 # Node ID e9d54cd577e79e911c9f3ea91ca46296bc08b4e9 # Parent 69016523a7a22920bdfd5432bce0f97355a722de perhaps unneeded, but... diff -r 69016523a7a2 -r e9d54cd577e7 tools/CMakeLists.txt --- a/tools/CMakeLists.txt Fri May 24 00:55:33 2013 +0200 +++ b/tools/CMakeLists.txt Fri May 24 01:45:03 2013 +0200 @@ -33,6 +33,7 @@ if(NOT NOPNG) #get the neme of the library (harmelss if it is static) string(REGEX REPLACE ".*/(.*)$" "\\1" PNG_LIBNAME "${PNG_LIBRARY}") + string(REGEX REPLACE ".*/(.*)$" "\\1" ZLIB_LIBNAME "${ZLIB_LIBRARY}") endif() set(frameworks_dir ${CMAKE_INSTALL_PREFIX}/${target_library_install_dir}) diff -r 69016523a7a2 -r e9d54cd577e7 tools/CreateMacBundle.cmake.in --- a/tools/CreateMacBundle.cmake.in Fri May 24 00:55:33 2013 +0200 +++ b/tools/CreateMacBundle.cmake.in Fri May 24 01:45:03 2013 +0200 @@ -16,6 +16,7 @@ #same here, for libpng and hwengine, let's assume the version pulled by macdeployqt is the same #(yes libpng is pulled by macdeployqt even when NOVIDEOREC is active) execute_process(COMMAND install_name_tool -change ${PNG_LIBRARY} @executable_path/../Frameworks/${PNG_LIBNAME} ${engine_full_path}) + execute_process(COMMAND install_name_tool -change ${ZLIB_LIBRARY} @executable_path/../Frameworks/${ZLIB_LIBNAME} ${engine_full_path}) endif() if(doBundle EQUAL 1)