CMake Error at Optional\.cmake:[0-9]+ \(find_program\): find_program cannot be both REQUIRED and OPTIONAL Call Stack \(most recent call first\): CMakeLists\.txt:[0-9]+ \(include\) CMake Error at Optional\.cmake:[0-9]+ \(find_program\): Could not find PROG_AandB using the following names: testAandB Call Stack \(most recent call first\): CMakeLists\.txt:[0-9]+ \(include\)