mirror of
https://github.com/microsoft/vcpkg.git
synced 2025-01-13 20:41:07 +08:00
Updating the information on CLion integration (#36196)
This commit changes the 'Vcpkg with CLion' section. Starting from the version 2023.2, CLion integrates with vcpkg and there is no need for additional CMake option as before. Also added a link to the official documentation. Signed-off-by: Marina.Kalashina <marina.kalashina@jetbrains.com>
This commit is contained in:
parent
e5e9f2f145
commit
29863593b8
12
README.md
12
README.md
@ -226,16 +226,8 @@ add the path to the vcpkg toolchain file:
|
||||
|
||||
### Vcpkg with CLion
|
||||
|
||||
Open the Toolchains settings
|
||||
(File > Settings on Windows and Linux, CLion > Preferences on macOS),
|
||||
and go to the CMake settings (Build, Execution, Deployment > CMake).
|
||||
Finally, in `CMake options`, add the following line:
|
||||
|
||||
```
|
||||
-DCMAKE_TOOLCHAIN_FILE=[vcpkg root]/scripts/buildsystems/vcpkg.cmake
|
||||
```
|
||||
|
||||
You must add this line to each profile.
|
||||
Vcpkg is integrated in the CLion IDE.
|
||||
For details, see the [official documentation](https://www.jetbrains.com/help/clion/package-management.html).
|
||||
|
||||
### Vcpkg as a Submodule with CMake
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user