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 @@ -260,6 +260,10 @@ void baseProject::addAddon(ofAddon & addon){
260
260
for (int i=0 ;i<(int )addons.size ();i++){
261
261
if (addons[i].name ==addon.name ) return ;
262
262
}
263
+
264
+ for (int i=0 ;i<addon.dependencies .size ();i++){
265
+ addAddon (addon.dependencies [i]);
266
+ }
263
267
264
268
addons.push_back (addon);
265
269
Original file line number Diff line number Diff line change @@ -341,6 +341,10 @@ void visualStudioProject::addAddon(ofAddon & addon){
341
341
if (addons[i].name ==addon.name ) return ;
342
342
}
343
343
344
+ for (int i=0 ;i<addon.dependencies .size ();i++){
345
+ baseProject::addAddon (addon.dependencies [i]);
346
+ }
347
+
344
348
addons.push_back (addon);
345
349
346
350
for (int i=0 ;i<(int )addon.includePaths .size ();i++){
Original file line number Diff line number Diff line change @@ -1165,6 +1165,10 @@ void xcodeProject::addAddon(ofAddon & addon){
1165
1165
if (addons[i].name ==addon.name ) return ;
1166
1166
}
1167
1167
1168
+ for (int i=0 ;i<addon.dependencies .size ();i++){
1169
+ baseProject::addAddon (addon.dependencies [i]);
1170
+ }
1171
+
1168
1172
addons.push_back (addon);
1169
1173
1170
1174
for (int i=0 ;i<(int )addon.includePaths .size ();i++){
You can’t perform that action at this time.
0 commit comments