Fixed warnings with unknown dependencies/depopts
Closes #1015
Merge pull request #1079 from AltGr/fix-warning-depopts

Fixed warnings with unknown dependencies/depopts