Title
#general
Stefano Bonicatti

Stefano Bonicatti

08/02/2022, 6:21 PM
@zwass that seems like the cmake command it's not being pointed to the top level CMakeLists.txt
zwass

zwass

08/02/2022, 6:22 PM
Did the command change? I verified a few weeks ago that the exact commands in the docs work correctly.
6:26 PM
I thought downgrading cmake to 3.21.4 which is the minimum required version would help, but it doesn't seem to.
Stefano Bonicatti

Stefano Bonicatti

08/02/2022, 6:30 PM
No nothing changed, what's your current working directory when launching that command?
zwass

zwass

08/02/2022, 7:29 PM
I'm not sure what I messed up but it seems like it's working by deleting the repo and exactly copying the commands from the docs.
Stefano Bonicatti

Stefano Bonicatti

08/02/2022, 7:31 PM
Maybe the main CMakeLists.txt somehow got messed up in your repo. Like if it's not finding those directives in the file, means that they aren't there, so either the top part of the file somehow disappeared (which it would be where those directives are), or CMake has been pointed to another folder
7:37 PM
There's also a more verbose way to be able to give that command anywhere btw, which would require to not use
..
and append
-B <path to build folder> -S <path to source code folder (where the top CMakeLists.txt is)>