I want a create cmake linux project in Visual studio, but there is an error "can not find cmake executable in /usr/bin/cmake". But I installed cmake in /usr/local/bin/cmake in my linux machine. how do I have to fix it

leemi young 21 Reputation points
2020-06-08T05:44:29.077+00:00

I want a create cmake linux project in Visual studio, but there is an error "can not find cmake executable file in /usr/bin/cmake".

But I installed cmake in /usr/local/bin/cmake in my linux machine.

how do I have to fix it ?

Azure Active Directory
Azure Active Directory
An Azure enterprise identity service that provides single sign-on and multi-factor authentication.
12,706 questions
No comments
{count} votes

Accepted answer
  1. Malleswara Reddy 1,631 Reputation points
    2020-06-08T06:20:15.453+00:00

    Hi,

    Have you configured CMake settings for Linux ?

    Please check in this link "Configure CMake settings for Linux"
    https://learn.microsoft.com/es-mx/cpp/linux/cmake-linux-project?view=vs-2019

    Regards,
    Eshwar


0 additional answers

Sort by: Most helpful