Use_wxWindows¶
自版本 2.8.10 起已弃用: 使用 find_package(wxWidgets)
和 include(${wxWidgets_USE_FILE})
代替。
这个便利的包含文件用于查找 wxWindows 是否已安装,并设置适当的库、包含目录、标志等。作者 Jan Woetzel <jw -at- mip.informatik.uni-kiel.de> (07/2003)
用法
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.