aboutsummaryrefslogtreecommitdiff
path: root/devtools/create_project
diff options
context:
space:
mode:
authorThierry Crozat2017-10-12 22:41:15 +0100
committerThierry Crozat2017-10-12 22:41:15 +0100
commitea53605365ac4f09db3955e36cc29b734af65f8e (patch)
treeb0e540c23ebc6bd10ccbcc695ceedb5e0ec72320 /devtools/create_project
parent0fde977ad26b7f19b10073c0100f396483c53c5e (diff)
downloadscummvm-rg350-ea53605365ac4f09db3955e36cc29b734af65f8e.tar.gz
scummvm-rg350-ea53605365ac4f09db3955e36cc29b734af65f8e.tar.bz2
scummvm-rg350-ea53605365ac4f09db3955e36cc29b734af65f8e.zip
CREATE_PROJECT: Support using libjpeg for iOS builds
Diffstat (limited to 'devtools/create_project')
-rw-r--r--devtools/create_project/xcode.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/devtools/create_project/xcode.cpp b/devtools/create_project/xcode.cpp
index dcf75c5895..d403243e45 100644
--- a/devtools/create_project/xcode.cpp
+++ b/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");
}