How to solve "Cannot find any CMake profile"?

I am using clion on win11,the remote host is Ubuntu20.04(linux 5.4.108).When I open a project and found that the build commad cannot be executed, the hammer is grey. I have configured Toolchains and Cmake Profie. The configuration information is shown in the figure below:

When I open the project, the information output by cmake is as follows:


When I execute Build| Build project, the prompt information is as follows:

How can I fix this problem?

Comment actions Permalink

These buttons are always in this state.

Comment actions Permalink


Do you have any executable targets in your project?


Please sign in to leave a comment.