ok, onw cmake works, must compile one first time for the dependencies and then a second for the project, but it works