cmake fails on first run but succeeds when run again after make
I'm trying to troubleshoot a build problem where, when I first time run "cmake .." it fails to find a resource file, when I run
"make" it builds the resource files but fails later on, now when I try to run
"cmake .." again it succeeds. After this point everything runs fine and it happens when building for the first time.