CMake Error: The source directory “/home/Demo1“ does not appear to contain CMakeLists.txt.

Try a lot of possible correct solutions are wrong, and finally copy the cmakelists.txt in the error content of the terminal, rename the cmake file you wrote, compile it, want to curse

Read More: