AddResourceDir question

I have several games. Each game has different model (.mdl) files associated with it. In order to keep the projects organized, I want to create a folder under the source folder called Models and put all my .mdl files there. However, the following doesn’t work:

ResourceCache* cache = GetSubsystem<ResourceCache>();

I tried using a relative path (./Models) and that didn’t work either. What am I doing wrong?

Path passed into GetResource shall be “relative” to path passed to AddResourceDir.
..-parenting in path is not alowed.

Ok, I figured it out. I was putting the Models folder under the source dir. It worked when I put it under the build dir.