Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

CMake VCPKG



  • Hello i am trying to add a few packages from vcpkg to my project issue is that they can be found.
    I read that you need to add -DCMAKE_TOOLCHAIN_FILE="PATH TO VCPKG"\vcpkg\scripts\buildsystems\vcpkg.cmake to the command line.
    How do i do this in qt creator when i write in 1f5014fd-a07e-4d54-9043-014123dfe15d-image.png my command nothing happens
    if i write it in 757ffa41-0bde-4281-b941-f07cb3d74992-image.png then i get it to the command line not in the way i want 2c28f7c0-3a59-4b43-8c92-891c0d4b92b3-image.png what i want is -DCMAKE_TOOLCHAIN_FILE=PATHTOVCPKG\vcpkg\scripts\buildsystems\vcpkg.cmake. How can i do that?


Log in to reply