tools/CreateMacBundle.cmake.in
changeset 9050 e9d54cd577e7
parent 8704 4fa9d9be17f3
child 9345 bb9bf1efd0d2
equal deleted inserted replaced
9049:69016523a7a2 9050:e9d54cd577e7
    14 
    14 
    15 if(NOT ${NOPNG})
    15 if(NOT ${NOPNG})
    16     #same here, for libpng and hwengine, let's assume the version pulled by macdeployqt is the same
    16     #same here, for libpng and hwengine, let's assume the version pulled by macdeployqt is the same
    17     #(yes libpng is pulled by macdeployqt even when NOVIDEOREC is active)
    17     #(yes libpng is pulled by macdeployqt even when NOVIDEOREC is active)
    18     execute_process(COMMAND install_name_tool -change ${PNG_LIBRARY} @executable_path/../Frameworks/${PNG_LIBNAME} ${engine_full_path})
    18     execute_process(COMMAND install_name_tool -change ${PNG_LIBRARY} @executable_path/../Frameworks/${PNG_LIBNAME} ${engine_full_path})
       
    19     execute_process(COMMAND install_name_tool -change ${ZLIB_LIBRARY} @executable_path/../Frameworks/${ZLIB_LIBNAME} ${engine_full_path})
    19 endif()
    20 endif()
    20 
    21 
    21 if(doBundle EQUAL 1)
    22 if(doBundle EQUAL 1)
    22     execute_process(COMMAND cp -pPR ${sdl_library_only} ${frameworks_dir}/SDL.framework)
    23     execute_process(COMMAND cp -pPR ${sdl_library_only} ${frameworks_dir}/SDL.framework)
    23     execute_process(COMMAND cp -pPR ${SDLIMAGE_LIBRARY} ${frameworks_dir}/SDL_image.framework)
    24     execute_process(COMMAND cp -pPR ${SDLIMAGE_LIBRARY} ${frameworks_dir}/SDL_image.framework)