It is clear from the error message No SOURCES given to target: fhe-demo that cmake is trying to create an executable named “fhe-demo” without specifying any source files.
cmake cannot find your code file simple-integers.cpp. Perhaps you did not specify the correct name in CMakeLists.txt, you did not identify the source path with the cmake command, or there is no code file at all.
Ensure your code file name is simple-integers.cpp stored in a source path that cmake can locate.
Thanks, for being patient and pointing out my silly mistake!
Now, as I am following the instructions listed under - How To Link Your Own Project After Having OpenFHE Installed, in the README.md of this page. I am facing the following issue;