Your CMakeCache.txt file was copied to CopyOfCMakeCache.txt. Please post that file on discourse.cmake.org.

I am getting below error. Please help me to resolve

System is unknown to cmake, create:
Platform/Windows to use this system, please post your config file on discourse.cmake.org so it can be added to cmake
Your CMakeCache.txt file was copied to CopyOfCMakeCache.txt. Please post that file on discourse.cmake.org.

That file would be in your build directory e.g. if you typed cmake -B build then the file is at build/CMakeCache.txt

As i am new to the CMake this answer is not clear to me. which file would be in build directory where i need to type cmake -B build

The build directory is where CMakeCache.txt is placed.

You don’t need to type that. It’s a possibility of how you made the build directory. By default it is the current working directory of where you ran CMake itself (-B just sets it explicitly).