How do I know Cmake path?

How do I know Cmake path?
Answer
CMake will use whatever path the running CMake executable is in. Furthermore, it may get confused if you switch paths between runs without clearing the cache. So what you have to do is simply instead of running cmake <path_to_src> from the command line, run
~/usr/cmake-path/bin/cmake <path_to_src>
.
 

Tìm kiếm

Back
Top