Use_wxWindows — CMake 4.1.1 Documentation

# Use_wxWindows

Deprecated since version 2.8.10: Use `find_package(wxWidgets)` instead.

This convenience include finds if wxWindows library is installed and sets the appropriate libraries, include directories, flags, etc.

## Examples

Include `Use_wxWindows` module in project's `CMakeLists.txt`:

    # CMakeLists.txt
    include(Use_wxWindows)

When the GL support is required, set `WXWINDOWS_USE_GL` before including this module:

    set(WXWINDOWS_USE_GL ON)
    include(Use_wxWindows)