我正在尝试构建一些源代码,当我输入cmake .. && make
它时说:
CMake Error: The source directory "/home/trident/Programs" does not appear to contain CMakeLists.txt. Specify --help for usage, or press the help button on the CMake GUI.
当我chatterino2
尝试使用 cmake 构建时,我就在里面,但感觉就像 cmake 正在寻找一个向后一层的目录,所以它没有找到CMakeLists.txt
文件
My file structure is:
-Programs
-chatterino2(Source Location)
<Location of CMakeLists.txt File>
-Chatterino(Build Location)
即使我尝试像这样手动指定源位置:
cmake .. && make -S ~/Programs/chatterino2 -B ~/Programs/Chatterino
它仍然找不到CMakeLists.txt
文件。