I added wxwidgets to my vcokg.json then ran debug in VS Code
{
"$schema": "https://raw.githubusercontent.com/microsoft/vcpkg/master/scripts/vcpkg.schema.json",
"name": "combustion",
"version": "1.0.1",
"dependencies": [
{ "name": "wxwidgets", "platform": "linux" }
]
}
Description
[cmake] CMake Error at build/vcpkg_installed/x64-linux/share/wxwidgets/vcpkg-cmake-wrapper.cmake:40 (if):
[cmake] if given arguments:
[cmake]
[cmake] "CMAKE_BUILD_TYPE" "STREQUAL" "Debug" "OR" "Debug" "IN_LIST" "MAP_IMPORTED_CONFIG_Debug"
[cmake]
[cmake] Unknown arguments specified
[cmake] Call Stack (most recent call first):
[cmake] /home/jonny/Projects/vcpkg/scripts/buildsystems/vcpkg.cmake:783 (include)
[cmake] CMakeLists.txt:31 (find_package)
[cmake]
[cmake]
[cmake] -- Configuring incomplete, errors occurred!
Platform and version information
- wxWidgets version you are building: latest from vcpkg
- wxWidgets port you are building: no idea
- OS and its version: ubuntu 22 lts
- Compiler being used: gcc
I added
wxwidgetsto myvcokg.jsonthen ran debug in VS CodeDescription
Platform and version information