Note
This module is specifically for FLTK version 2.x. The 2.0 series was
originally a development branch intended as the next major version of FLTK.
However, it never reached stable release status, and active development has
shifted back to the FLTK 1.x branch. For finding FLTK, including stable and
modern versions, use the FindFLTK module instead.
Finds the Fast Light Toolkit (FLTK) version 2.x, a cross-platform toolkit for GUI development.
This module defines the following variables:
FLTK2_FOUNDBoolean indicating whether FLTK 2.x is found.
FLTK2_LIBRARIESLibraries needed to link against to use FLTK 2.x.
FLTK2_WRAP_UIBoolean indicating whether the fluid2 executable is found. This variable
can be used, for example, to conditionally invoke the fltk_wrap_ui()
command if it is needed and available.
The following cache variables may also be set:
FLTK2_FLUID_EXECUTABLEThe path to the fluid2 binary tool.
FLTK2_INCLUDE_DIRThe directory containing header files needed to use FLTK 2.x.
FLTK2_BASE_LIBRARYThe path to the FLTK 2.x library (fltk2).
FLTK2_GL_LIBRARYThe path to the FLTK 2.x OpenGL compatibility library (fltk2_gl).
FLTK2_IMAGES_LIBRARYThe path to the FLTK 2.x Images library (fltk2_images).
Finding FLTK version 2:
find_package(FLTK2)
The FindFLTK module to find FLTK in a version-agnostic way.