vcpkg linux fails with cmake error Unknown arguments specified`"CMAKE_BUILD_TYPE" "STREQUAL" "Debug" "OR" "Debug" "IN_LIST" "MAP_IMPORTED_CONFIG_Debug"` (Issue #22843)

138 views
Skip to first unread message

Jonathan Leaders

unread,
Oct 3, 2022, 1:58:36 PM10/3/22
to wx-...@googlegroups.com, Subscribed

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


Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you are subscribed to this thread.Message ID: <wxWidgets/wxWidgets/issues/22843@github.com>

VZ

unread,
Oct 3, 2022, 2:06:27 PM10/3/22
to wx-...@googlegroups.com, Subscribed

Closed #22843 as not planned.


Reply to this email directly, view it on GitHub, or unsubscribe.

You are receiving this because you are subscribed to this thread.Message ID: <wxWidgets/wxWidgets/issue/22843/issue_event/7509657657@github.com>

VZ

unread,
Oct 3, 2022, 2:06:28 PM10/3/22
to wx-...@googlegroups.com, Subscribed

Sorry, I don't think it's a wxWidgets problem at all.

vcpkg recipe for wxWidgets is maintained separately, in vcpkg repository, please report the problem there, as I have no idea what is it due to, but, again, this doesn't seem to be related to anything in wx itself.


Reply to this email directly, view it on GitHub, or unsubscribe.

You are receiving this because you are subscribed to this thread.Message ID: <wxWidgets/wxWidgets/issues/22843/1265833748@github.com>

Kai Pastor

unread,
Oct 22, 2022, 6:59:48 AM10/22/22
to wx-...@googlegroups.com, Subscribed

Related: microsoft/vcpkg#27316


Reply to this email directly, view it on GitHub, or unsubscribe.

You are receiving this because you are subscribed to this thread.Message ID: <wxWidgets/wxWidgets/issues/22843/1287760652@github.com>

Reply all
Reply to author
Forward
0 new messages