File tree Expand file tree Collapse file tree 3 files changed +12
-0
lines changed
ofxProjectGenerator/src/projects Expand file tree Collapse file tree 3 files changed +12
-0
lines changed Original file line number Diff line number Diff line change @@ -298,6 +298,10 @@ void baseProject::addAddon(ofAddon & addon){
298
298
for (int i=0 ;i<(int )addons.size ();i++){
299
299
if (addons[i].name ==addon.name ) return ;
300
300
}
301
+
302
+ for (int i=0 ;i<addon.dependencies .size ();i++){
303
+ addAddon (addon.dependencies [i]);
304
+ }
301
305
302
306
addons.push_back (addon);
303
307
Original file line number Diff line number Diff line change @@ -393,6 +393,10 @@ void visualStudioProject::addAddon(ofAddon & addon){
393
393
if (addons[i].name ==addon.name ) return ;
394
394
}
395
395
396
+ for (int i=0 ;i<addon.dependencies .size ();i++){
397
+ baseProject::addAddon (addon.dependencies [i]);
398
+ }
399
+
396
400
addons.push_back (addon);
397
401
398
402
for (int i=0 ;i<(int )addon.includePaths .size ();i++){
Original file line number Diff line number Diff line change @@ -1224,6 +1224,10 @@ void xcodeProject::addAddon(ofAddon & addon){
1224
1224
if (addons[i].name ==addon.name ) return ;
1225
1225
}
1226
1226
1227
+ for (int i=0 ;i<addon.dependencies .size ();i++){
1228
+ baseProject::addAddon (addon.dependencies [i]);
1229
+ }
1230
+
1227
1231
addons.push_back (addon);
1228
1232
1229
1233
for (int i=0 ;i<(int )addon.includePaths .size ();i++){
You can’t perform that action at this time.
0 commit comments