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 ?

Microsoft Entra ID
Microsoft Entra ID
A Microsoft Entra identity service that provides identity management and access control capabilities. Replaces Azure Active Directory.
19,457 questions
0 comments No comments
{count} votes

Accepted answer
  1. Malleswara Reddy, G 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