Skip to content

Commit 62cde9d

Browse files
author
Colin Robertson
committed
Fix Linux CMake path for search
1 parent 3d1b230 commit 62cde9d

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

docs/build/get-started-linux-cmake.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ title: Create C++ cross-platform projects in Visual Studio
33
description: "How to set up, compile, and debug a C++ open-source CMake project in Visual Studio that targets both Linux and Windows."
44
author: mikeblome
55
ms.topic: tutorial
6-
ms.date: "11/08/2019"
6+
ms.date: "01/08/2020"
77
---
88
# Tutorial: Create C++ cross-platform projects in Visual Studio
99

@@ -38,10 +38,10 @@ In this tutorial, you learn how to:
3838
chmod +x cmake-3.11.18033000-MSVC_2-Linux-x86_64.sh
3939
```
4040
41-
* You can see the options for running the script with `-–help`. We recommend that you use the `–prefix` option to specify installing in the **/usr/local** path, because that's the default location where Visual Studio looks for CMake. The following example shows the Linux-x86_64 script. Change it as needed if you're using a different target platform.
41+
* You can see the options for running the script with `-–help`. We recommend that you use the `–prefix` option to specify installing in the **/usr** path, because **/usr/bin** is the default location where Visual Studio looks for CMake. The following example shows the Linux-x86_64 script. Change it as needed if you're using a different target platform.
4242
4343
```cmd
44-
sudo ./cmake-3.11.18033000-MSVC_2-Linux-x86_64.sh --skip-license --prefix=/usr/local
44+
sudo ./cmake-3.11.18033000-MSVC_2-Linux-x86_64.sh --skip-license --prefix=/usr
4545
```
4646
4747
* Git for windows installed on your Windows machine.

0 commit comments

Comments
 (0)