Use_wxWindows

自 2.8.10 版本后弃用:改用 find_package(wxWidgets)include(${wxWidgets_USE_FILE})

此便捷的 include 查找 wxWindows 这一软件是否已安装,并设置适当的库、incdirs、flags 等。作者 Jan Woetzel <jw -at- mip.informatik.uni-kiel.de> (2003 年 7 月)

用法

just include Use_wxWindows.cmake
in your projects CMakeLists.txt

include( ${CMAKE_MODULE_PATH}/Use_wxWindows.cmake)

if you are sure you need GL then

set(WXWINDOWS_USE_GL 1)

*before* you include this file.