使用_wxWindows

自 2.8.10 版本弃用: 使用``find_package(wxWidgets)`` 和``include(${wxWidgets_USE_FILE})`` 代替。

这种便利包括查找是否安装了 wxWindows 并设置适当的库、incdirs、标志等。作者 Jan Woetzel <jw -at-mip.informatik.uni-kiel.de> (07/2003)

用法:

just include Use_wxWindows.cmake
in your projects CMakeLists.txt

包括(${CMAKE_MODULE_PATH}/Use_wxWindows.cmake)

if you are sure you need GL then

设置(WXWINDOWS_USE_GL 1)

*before* you include this file.