OK, moving the cmake commands to the top-level script was not working out, so I moved the resources folder into the "src/" folder (to be renamed "core/" at some point)