You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Run CMake with the vcpkg toolchain file to generate a build
CMake fails at configure time attempting to find wxwidgets because setup.h is in the wrong directory (see my comments on this related issue and this pull request)
Expected behavior
The package created by vcpkg should be compatible with existing CMake wxWidgets find modules.
Failure logs
See attached zip
Additional context
n/a
The text was updated successfully, but these errors were encountered:
Since this fails at configure time, a regression test case would simply build vcpkg and attempt to configure the example in the ZIP.
The example is 'Hello World!" from the wxwidgets.org site. If the configure step in CMake succeeds, then we successfully found wxWidgets via find_package from the package created by vcpkg.
OK, it seems that wxWidgets find modules expect a directory layout that is similar to what you get after a build of wxWidgets and vcpkg is re-organizing the entire directory tree, confusing the find modules.
I don't think vcpkg should be reorganizing the directories into a form not recognized by the find modules in CMake.
Describe the bug
vcpkg builds and installs wxwidgets but CMake find_package can't locate wxwidgets from vcpkg package
Environment
To Reproduce
Steps to reproduce the behavior:
Expected behavior
The package created by vcpkg should be compatible with existing CMake wxWidgets find modules.
Failure logs
Additional context
n/a
The text was updated successfully, but these errors were encountered: