Permalink
Browse files

CREATE_PROJECT: Support using libjpeg for iOS builds

  • Loading branch information...
criezy committed Oct 12, 2017
1 parent 0fde977 commit ea53605365ac4f09db3955e36cc29b734af65f8e
Showing with 3 additions and 0 deletions.
  1. +3 −0 devtools/create_project/xcode.cpp
@@ -543,6 +543,9 @@ void XcodeProvider::setupFrameworksBuildPhase(const BuildSetup &setup) {
if (CONTAINS_DEFINE(setup.defines, "USE_FREETYPE2")) {
frameworks_iOS.push_back("libfreetype.a");
}
if (CONTAINS_DEFINE(setup.defines, "USE_JPEG")) {
frameworks_iOS.push_back("libjpeg.a");
}
if (CONTAINS_DEFINE(setup.defines, "USE_PNG")) {
frameworks_iOS.push_back("libpng.a");
}

0 comments on commit ea53605

Please sign in to comment.