开发者

Finding STC module using CMake - C++/wxWidgets

It looks like FindwxWidgets.CMake can't find stc module from contrib. I have the following in my CMakeList file.

find_package(wxWidgets COMPONENTS core base stc REQUIRED)

This is failing with message, can't find wxWidget. If I r开发者_如何学Goemove stc from it, all works. How can I address this issue?

I am using CMake2.8 on Windows 7 and wxWidgets 2.8.11.

Any help would be appreciated.


According to the bug tracker finding contrib modules is not supported under Windows. There is a patch attached to that issue that might help you. As of wxWidgets 2.9 the stc library was moved into the core feature set of wxWidgets and so is supported in recent versions of CMake.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜