CMake Error at InvalidNesting3.cmake:[0-9]+ \(endwhile\): Flow control statements are not properly nested. Call Stack \(most recent call first\): CMakeLists.txt:[0-9]+ \(include\)