FindFLTK2¶
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:
find_package(FLTK2 [...])
Result Variables¶
This module defines the following variables:
FLTK2_FOUNDBoolean indicating whether FLTK 2.x was found.
FLTK2_LIBRARIESLibraries needed to link against to use FLTK 2.x.
FLTK2_WRAP_UIBoolean indicating whether the
fluid2executable is found. This variable can be used, for example, to conditionally invoke thefltk_wrap_ui()command if it is needed and available.
Cache Variables¶
The following cache variables may also be set:
FLTK2_FLUID_EXECUTABLEThe path to the
fluid2binary 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).
Examples¶
Finding FLTK version 2:
find_package(FLTK2)
See Also¶
The
FindFLTKmodule to find FLTK in a version-agnostic way.