File tree Expand file tree Collapse file tree
ofxProjectGenerator/src/projects Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -260,6 +260,10 @@ void baseProject::addAddon(ofAddon & addon){
260260 for (int i=0 ;i<(int )addons.size ();i++){
261261 if (addons[i].name ==addon.name ) return ;
262262 }
263+
264+ for (int i=0 ;i<addon.dependencies .size ();i++){
265+ addAddon (addon.dependencies [i]);
266+ }
263267
264268 addons.push_back (addon);
265269
Original file line number Diff line number Diff line change @@ -341,6 +341,10 @@ void visualStudioProject::addAddon(ofAddon & addon){
341341 if (addons[i].name ==addon.name ) return ;
342342 }
343343
344+ for (int i=0 ;i<addon.dependencies .size ();i++){
345+ baseProject::addAddon (addon.dependencies [i]);
346+ }
347+
344348 addons.push_back (addon);
345349
346350 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){
11651165 if (addons[i].name ==addon.name ) return ;
11661166 }
11671167
1168+ for (int i=0 ;i<addon.dependencies .size ();i++){
1169+ baseProject::addAddon (addon.dependencies [i]);
1170+ }
1171+
11681172 addons.push_back (addon);
11691173
11701174 for (int i=0 ;i<(int )addon.includePaths .size ();i++){
You can’t perform that action at this time.
0 commit comments