Skip to content
Permalink
Browse files

Fixed bug 4075 - configury adds Metal.framework to linkage even if it…

… is not available

Ozkan Sezer

Configury adds Metal.framework to linkage even if it is not available.
My solution is setting enable_render_metal to no when Metal.framework
is not found
  • Loading branch information
slouken committed Feb 12, 2018
1 parent 873141a commit 66f9492b69fdaaffc5f21a84fc01b71b632b4e4b
Showing with 4 additions and 0 deletions.
  1. +2 −0 configure
  2. +2 −0 configure.in

SOURCES="$SOURCES $srcdir/src/render/metal/*.m"
SUMMARY_video="${SUMMARY_video} metal"
else
enable_render_metal=no
fi
fi
}
@@ -2093,6 +2093,8 @@ AC_HELP_STRING([--enable-render-metal], [enable the Metal render driver [[defaul
AC_DEFINE(SDL_VIDEO_RENDER_METAL, 1, [ ])
SOURCES="$SOURCES $srcdir/src/render/metal/*.m"
SUMMARY_video="${SUMMARY_video} metal"
else
enable_render_metal=no
fi
fi
}

0 comments on commit 66f9492

Please sign in to comment.