Vcpkg: how to use with clion?

Created on 24 May 2018  路  3Comments  路  Source: microsoft/vcpkg

how to use with clion?

question

Most helpful comment

I was doing the steps below to link CLion with my vcpkg.

  1. Go to File -> Settings -> Build, Execution, Deployment -> CMake
  2. Choose one profile, and then find "CMake Options".
  3. Insert value to the option: -DCMAKE_TOOLCHAIN_FILE=<path_to_vcpkg>/scripts/buildsystems/vcpkg.cmake

Please let me know if there is any better way to do this.

All 3 comments

Would very much like to have simple instructions on how to use vcpkg with clion.
I've tried following the instructions for vcpkg with cmake, but couldn't get it to work on clion

I was doing the steps below to link CLion with my vcpkg.

  1. Go to File -> Settings -> Build, Execution, Deployment -> CMake
  2. Choose one profile, and then find "CMake Options".
  3. Insert value to the option: -DCMAKE_TOOLCHAIN_FILE=<path_to_vcpkg>/scripts/buildsystems/vcpkg.cmake

Please let me know if there is any better way to do this.

Hi @oahzuw, thanks for posing this issue. Hope the above instructions from masphei can help you. Please feel free to reopen it if this is still a problem for you.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

jack17529 picture jack17529  路  3Comments

tzbo picture tzbo  路  3Comments

PhilLab picture PhilLab  路  3Comments

cskrisz picture cskrisz  路  3Comments

ThinkalVB picture ThinkalVB  路  3Comments