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:
MarinaKalashina 2024-01-25 03:26:46 +04:00 коммит произвёл GitHub
Родитель e5e9f2f145
Коммит 29863593b8
Не найден ключ, соответствующий данной подписи
Идентификатор ключа GPG: B5690EEEBB952194
1 изменённых файлов: 2 добавлений и 10 удалений

Просмотреть файл

@ -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