code:
<!DOCTYPE html>

    <meta charset="utf-8" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" /><meta name="generator" content="Docutils 0.19: https://docutils.sourceforge.io/" />

  <title>FindGLEW — CMake 3.29.0-rc3 Documentation</title>

    <link rel="stylesheet" type="text/css" href="../_static/pygments.css" />
    <link rel="stylesheet" type="text/css" href="../_static/cmake.css" />

    <link rel="icon" href="../_static/cmake-favicon.ico"/>
    <link rel="index" title="Index" href="../genindex.html" />
    <link rel="search" title="Search" href="../search.html" />
    <link rel="next" title="FindGLUT" href="FindGLUT.html" />
    <link rel="prev" title="FindGit" href="FindGit.html" />

Navigation

          index

          next |

          previous |

    CMake »

    3.29.0-rc3 Documentation »

cmake-modules(7) »

FindGLEW

FindGLEW¶

Find the OpenGL Extension Wrangler Library (GLEW)

Input Variables¶

The following variables may be set to influence this module's behavior:

GLEW_USE_STATIC_LIBS

to find and create IMPORTED target for static linkage.

GLEW_VERBOSE

to output a detailed log of this module.

Imported Targets¶

New in version 3.1.

This module defines the following Imported Targets:

GLEW::glew

The GLEW shared library.

GLEW::glew_s

The GLEW static library, if GLEW_USE_STATIC_LIBS is set to TRUE.

GLEW::GLEW

Duplicates either GLEW::glew or GLEW::glew_s based on availability.

Result Variables¶

This module defines the following variables:

GLEW_INCLUDE_DIRS

include directories for GLEW

GLEW_LIBRARIES

libraries to link against GLEW

GLEW_SHARED_LIBRARIES

libraries to link against shared GLEW

GLEW_STATIC_LIBRARIES

libraries to link against static GLEW

GLEW_FOUND

true if GLEW has been found and can be used

GLEW_VERSION

GLEW version

GLEW_VERSION_MAJOR

GLEW major version

GLEW_VERSION_MINOR

GLEW minor version

GLEW_VERSION_MICRO

GLEW micro version

New in version 3.7: Debug and Release variants are found separately.

Table of Contents

FindGLEW

Input Variables

Imported Targets

Result Variables

Previous topic

FindGit

Next topic

FindGLUT

This Page

Show Source

Quick search

    <form class="search" action="../search.html" method="get">
      <input type="text" name="q" aria-labelledby="searchlabel" autocomplete="off" autocorrect="off" autocapitalize="off" spellcheck="false"/>
      <input type="submit" value="Go" />
    </form>

Navigation

          index

          next |

          previous |

    CMake »

    3.29.0-rc3 Documentation »

cmake-modules(7) »

FindGLEW

        © Copyright 2000-2024 Kitware, Inc. and Contributors.
      Created using Sphinx 6.2.1.


code:
<!DOCTYPE html>

    <meta charset="utf-8" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" /><meta name="generator" content="Docutils 0.19: https://docutils.sourceforge.io/" />

  <title>FindGLUT — CMake 3.29.0-rc3 Documentation</title>

    <link rel="stylesheet" type="text/css" href="../_static/pygments.css" />
    <link rel="stylesheet" type="text/css" href="../_static/cmake.css" />

    <link rel="icon" href="../_static/cmake-favicon.ico"/>
    <link rel="index" title="Index" href="../genindex.html" />
    <link rel="search" title="Search" href="../search.html" />
    <link rel="next" title="FindGnuplot" href="FindGnuplot.html" />
    <link rel="prev" title="FindGLEW" href="FindGLEW.html" />

Navigation

          index

          next |

          previous |

    CMake »

    3.29.0-rc3 Documentation »

cmake-modules(7) »

FindGLUT

FindGLUT¶

Find OpenGL Utility Toolkit (GLUT) library and include files.

IMPORTED Targets¶

New in version 3.1.

This module defines the IMPORTED targets:

GLUT::GLUT

Defined if the system has GLUT.

Result Variables¶

This module defines the following variables:

GLUT_FOUND

True if glut was found.

GLUT_INCLUDE_DIRS

New in version 3.23.

Where to find GL/glut.h, etc.

GLUT_LIBRARIES

List of libraries for using glut.

Cache Variables¶

This module may set the following variables depending on platform.
These variables may optionally be set to help this module find the
correct files, but clients should not use these as results:

GLUT_INCLUDE_DIR

The full path to the directory containing GL/glut.h,
not including GL/.

GLUT_glut_LIBRARY

The full path to the glut library.

GLUT_Xmu_LIBRARY

The full path to the Xmu library.

GLUT_Xi_LIBRARY

The full path to the Xi Library.

Obsolete Variables¶

The following variables may also be provided, for backwards compatibility:

GLUT_INCLUDE_DIR

This is one of above Cache Variables, but prior to CMake 3.23 was
also a result variable.  Prefer to use GLUT_INCLUDE_DIRS instead
in CMake 3.23 and above.

Table of Contents

FindGLUT

IMPORTED Targets

Result Variables

Cache Variables

Obsolete Variables

Previous topic

FindGLEW

Next topic

FindGnuplot

This Page

Show Source

Quick search

    <form class="search" action="../search.html" method="get">
      <input type="text" name="q" aria-labelledby="searchlabel" autocomplete="off" autocorrect="off" autocapitalize="off" spellcheck="false"/>
      <input type="submit" value="Go" />
    </form>

Navigation

          index

          next |

          previous |

    CMake »

    3.29.0-rc3 Documentation »

cmake-modules(7) »

FindGLUT

        © Copyright 2000-2024 Kitware, Inc. and Contributors.
      Created using Sphinx 6.2.1.

repo_name: lazytadpole/codenamesilverfish

license: mit


code:
<!DOCTYPE html>

    <meta charset="utf-8" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" /><meta name="generator" content="Docutils 0.19: https://docutils.sourceforge.io/" />

  <title>FindGSL — CMake 3.29.0-rc3 Documentation</title>

    <link rel="stylesheet" type="text/css" href="../_static/pygments.css" />
    <link rel="stylesheet" type="text/css" href="../_static/cmake.css" />

    <link rel="icon" href="../_static/cmake-favicon.ico"/>
    <link rel="index" title="Index" href="../genindex.html" />
    <link rel="search" title="Search" href="../search.html" />
    <link rel="next" title="FindGTest" href="FindGTest.html" />
    <link rel="prev" title="FindGnuTLS" href="FindGnuTLS.html" />

Navigation

          index

          next |

          previous |

    CMake »

    3.29.0-rc3 Documentation »

cmake-modules(7) »

FindGSL

FindGSL¶

New in version 3.2.

Find the native GNU Scientific Library (GSL) includes and libraries.

The GNU Scientific Library (GSL) is a numerical library for C and C++
programmers. It is free software under the GNU General Public
License.

Imported Targets¶

If GSL is found, this module defines the following IMPORTED
targets:

GSL::gsl      - The main GSL library.
GSL::gslcblas - The CBLAS support library used by GSL.

Result Variables¶

This module will set the following variables in your project:

GSL_FOUND          - True if GSL found on the local system
GSL_INCLUDE_DIRS   - Location of GSL header files.
GSL_LIBRARIES      - The GSL libraries.
GSL_VERSION        - The version of the discovered GSL install.

Hints¶

Set GSL_ROOT_DIR to a directory that contains a GSL installation.

This script expects to find libraries at $GSL_ROOT_DIR/lib and the GSL
headers at $GSL_ROOT_DIR/include/gsl.  The library directory may
optionally provide Release and Debug folders. If available, the libraries
named gsld, gslblasd or cblasd are recognized as debug libraries.
For Unix-like systems, this script will use $GSL_ROOT_DIR/bin/gsl-config
(if found) to aid in the discovery of GSL.

Cache Variables¶

This module may set the following variables depending on platform and type
of GSL installation discovered.  These variables may optionally be set to
help this module find the correct files:

GSL_CBLAS_LIBRARY       - Location of the GSL CBLAS library.
GSL_CBLAS_LIBRARY_DEBUG - Location of the debug GSL CBLAS library (if any).
GSL_CONFIG_EXECUTABLE   - Location of the ``gsl-config`` script (if any).
GSL_LIBRARY             - Location of the GSL library.
GSL_LIBRARY_DEBUG       - Location of the debug GSL library (if any).

Table of Contents

FindGSL

Imported Targets

Result Variables

Hints

Cache Variables

Previous topic

FindGnuTLS

Next topic

FindGTest

This Page

Show Source

Quick search

    <form class="search" action="../search.html" method="get">
      <input type="text" name="q" aria-labelledby="searchlabel" autocomplete="off" autocorrect="off" autocapitalize="off" spellcheck="false"/>
      <input type="submit" value="Go" />
    </form>

Navigation

          index

          next |

          previous |

    CMake »

    3.29.0-rc3 Documentation »

cmake-modules(7) »

FindGSL

        © Copyright 2000-2024 Kitware, Inc. and Contributors.
      Created using Sphinx 6.2.1.


code:
<!DOCTYPE html>

    <meta charset="utf-8" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" /><meta name="generator" content="Docutils 0.19: https://docutils.sourceforge.io/" />

  <title>FindGTK — CMake 3.29.0-rc3 Documentation</title>

    <link rel="stylesheet" type="text/css" href="../_static/pygments.css" />
    <link rel="stylesheet" type="text/css" href="../_static/cmake.css" />

    <link rel="icon" href="../_static/cmake-favicon.ico"/>
    <link rel="index" title="Index" href="../genindex.html" />
    <link rel="search" title="Search" href="../search.html" />
    <link rel="next" title="FindGTK2" href="FindGTK2.html" />
    <link rel="prev" title="FindGTest" href="FindGTest.html" />

Navigation

          index

          next |

          previous |

    CMake »

    3.29.0-rc3 Documentation »

cmake-modules(7) »

FindGTK

FindGTK¶

Find GTK, glib and GTKGLArea

GTK_INCLUDE_DIR   - Directories to include to use GTK
GTK_LIBRARIES     - Files to link against to use GTK
GTK_FOUND         - GTK was found
GTK_GL_FOUND      - GTK's GL features were found

Previous topic

FindGTest

Next topic

FindGTK2

This Page

Show Source

Quick search

    <form class="search" action="../search.html" method="get">
      <input type="text" name="q" aria-labelledby="searchlabel" autocomplete="off" autocorrect="off" autocapitalize="off" spellcheck="false"/>
      <input type="submit" value="Go" />
    </form>

Navigation

          index

          next |

          previous |

    CMake »

    3.29.0-rc3 Documentation »

cmake-modules(7) »

FindGTK

        © Copyright 2000-2024 Kitware, Inc. and Contributors.
      Created using Sphinx 6.2.1.


code:
<!DOCTYPE html>

    <meta charset="utf-8" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" /><meta name="generator" content="Docutils 0.19: https://docutils.sourceforge.io/" />

  <title>FindGTK2 — CMake 3.29.0-rc3 Documentation</title>

    <link rel="stylesheet" type="text/css" href="../_static/pygments.css" />
    <link rel="stylesheet" type="text/css" href="../_static/cmake.css" />

    <link rel="icon" href="../_static/cmake-favicon.ico"/>
    <link rel="index" title="Index" href="../genindex.html" />
    <link rel="search" title="Search" href="../search.html" />
    <link rel="next" title="FindHDF5" href="FindHDF5.html" />
    <link rel="prev" title="FindGTK" href="FindGTK.html" />

Navigation

          index

          next |

          previous |

    CMake »

    3.29.0-rc3 Documentation »

cmake-modules(7) »

FindGTK2

FindGTK2¶

Find the GTK2 widget libraries and several of its other optional components
like gtkmm, glade, and glademm.

Specify one or more of the following components as you call this find
module.  See example below.

gtk

gtkmm

glade

glademm

Imported Targets¶

This module defines the following IMPORTED targets (subject to
component selection):

GTK2::atk, GTK2::atkmm, GTK2::cairo, GTK2::cairomm,
GTK2::gdk_pixbuf, GTK2::gdk, GTK2::gdkmm, GTK2::gio,
GTK2::giomm, GTK2::glade, GTK2::glademm, GTK2::glib,
GTK2::glibmm, GTK2::gmodule, GTK2::gobject, GTK2::gthread,
GTK2::gtk, GTK2::gtkmm, GTK2::harfbuzz, GTK2::pango,
GTK2::pangocairo, GTK2::pangoft2, GTK2::pangomm,
GTK2::pangoxft, GTK2::sigc.

New in version 3.16.7: Added the GTK2::harfbuzz target.

Result Variables¶

The following variables will be defined for your use

GTK2_FOUND

Were all of your specified components found?

GTK2_INCLUDE_DIRS

All include directories

GTK2_LIBRARIES

All libraries

GTK2_TARGETS

New in version 3.5: All imported targets

GTK2_DEFINITIONS

Additional compiler flags

GTK2_VERSION

The version of GTK2 found (x.y.z)

GTK2_MAJOR_VERSION

The major version of GTK2

GTK2_MINOR_VERSION

The minor version of GTK2

GTK2_PATCH_VERSION

The patch version of GTK2

New in version 3.5: When GTK2_USE_IMPORTED_TARGETS is set to TRUE, GTK2_LIBRARIES
will list imported targets instead of library paths.

Input Variables¶

Optional variables you can define prior to calling this module:

GTK2_DEBUG

Enables verbose debugging of the module

GTK2_ADDITIONAL_SUFFIXES

Allows defining additional directories to search for include files

Example Usage¶

Call find_package() once.  Here are some examples to pick from:

Require GTK 2.6 or later:

find_package(GTK2 2.6 REQUIRED gtk)

Require GTK 2.10 or later and Glade:

find_package(GTK2 2.10 REQUIRED gtk glade)

Search for GTK/GTKMM 2.8 or later:

find_package(GTK2 2.8 COMPONENTS gtk gtkmm)

Use the results:

if(GTK2_FOUND)
  include_directories(${GTK2_INCLUDE_DIRS})
  add_executable(mygui mygui.cc)
  target_link_libraries(mygui ${GTK2_LIBRARIES})
endif()

Table of Contents

FindGTK2

Imported Targets

Result Variables

Input Variables

Example Usage

Previous topic

FindGTK

Next topic

FindHDF5

This Page

Show Source

Quick search

    <form class="search" action="../search.html" method="get">
      <input type="text" name="q" aria-labelledby="searchlabel" autocomplete="off" autocorrect="off" autocapitalize="off" spellcheck="false"/>
      <input type="submit" value="Go" />
    </form>

Navigation

          index

          next |

          previous |

    CMake »

    3.29.0-rc3 Documentation »

cmake-modules(7) »

FindGTK2

        © Copyright 2000-2024 Kitware, Inc. and Contributors.
      Created using Sphinx 6.2.1.


code:
<!DOCTYPE html>

    <meta charset="utf-8" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" /><meta name="generator" content="Docutils 0.19: https://docutils.sourceforge.io/" />

  <title>FindGTest — CMake 3.29.0-rc3 Documentation</title>

    <link rel="stylesheet" type="text/css" href="../_static/pygments.css" />
    <link rel="stylesheet" type="text/css" href="../_static/cmake.css" />

    <link rel="icon" href="../_static/cmake-favicon.ico"/>
    <link rel="index" title="Index" href="../genindex.html" />
    <link rel="search" title="Search" href="../search.html" />
    <link rel="next" title="FindGTK" href="FindGTK.html" />
    <link rel="prev" title="FindGSL" href="FindGSL.html" />

Navigation

          index

          next |

          previous |

    CMake »

    3.29.0-rc3 Documentation »

cmake-modules(7) »

FindGTest

FindGTest¶

Locate the Google C++ Testing Framework.

New in version 3.20: Upstream GTestConfig.cmake is used if possible.

Imported targets¶

New in version 3.20: This module defines the following IMPORTED targets:

GTest::gtest

The Google Test gtest library, if found; adds Thread::Thread
automatically

GTest::gtest_main

The Google Test gtest_main library, if found

New in version 3.23.

GTest::gmock

The Google Mock gmock library, if found; adds Thread::Thread
automatically

GTest::gmock_main

The Google Mock gmock_main library, if found

Deprecated since version 3.20: For backwards compatibility, this module defines additionally the
following deprecated IMPORTED targets (available since 3.5):

GTest::GTest

The Google Test gtest library, if found; adds Thread::Thread
automatically

GTest::Main

The Google Test gtest_main library, if found

Result variables¶

This module will set the following variables in your project:

GTest_FOUND

Found the Google Testing framework

GTEST_INCLUDE_DIRS

the directory containing the Google Test headers

The library variables below are set as normal variables.  These
contain debug/optimized keywords when a debugging library is found.

GTEST_LIBRARIES

The Google Test gtest library; note it also requires linking
with an appropriate thread library

GTEST_MAIN_LIBRARIES

The Google Test gtest_main library

GTEST_BOTH_LIBRARIES

Both gtest and gtest_main

Cache variables¶

The following cache variables may also be set:

GTEST_ROOT

The root directory of the Google Test installation (may also be
set as an environment variable)

GTEST_MSVC_SEARCH

If compiling with MSVC, this variable can be set to MT or
MD (the default) to enable searching a GTest build tree

Example usage¶

enable_testing()
find_package(GTest REQUIRED)

add_executable(foo foo.cc)
target_link_libraries(foo GTest::gtest GTest::gtest_main)

add_test(AllTestsInFoo foo)

Deeper integration with CTest¶

See GoogleTest for information on the gtest_add_tests()
and gtest_discover_tests() commands.

Changed in version 3.9: Previous CMake versions defined gtest_add_tests() macro in this
module.

Table of Contents

FindGTest

Imported targets

Result variables

Cache variables

Example usage

Deeper integration with CTest

Previous topic

FindGSL

Next topic

FindGTK

This Page

Show Source

Quick search

    <form class="search" action="../search.html" method="get">
      <input type="text" name="q" aria-labelledby="searchlabel" autocomplete="off" autocorrect="off" autocapitalize="off" spellcheck="false"/>
      <input type="submit" value="Go" />
    </form>

Navigation

          index

          next |

          previous |

    CMake »

    3.29.0-rc3 Documentation »

cmake-modules(7) »

FindGTest

        © Copyright 2000-2024 Kitware, Inc. and Contributors.
      Created using Sphinx 6.2.1.


code:
<!DOCTYPE html>

    <meta charset="utf-8" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" /><meta name="generator" content="Docutils 0.19: https://docutils.sourceforge.io/" />

  <title>FindGettext — CMake 3.29.0-rc3 Documentation</title>

    <link rel="stylesheet" type="text/css" href="../_static/pygments.css" />
    <link rel="stylesheet" type="text/css" href="../_static/cmake.css" />

    <link rel="icon" href="../_static/cmake-favicon.ico"/>
    <link rel="index" title="Index" href="../genindex.html" />
    <link rel="search" title="Search" href="../search.html" />
    <link rel="next" title="FindGIF" href="FindGIF.html" />
    <link rel="prev" title="FindGDAL" href="FindGDAL.html" />

Navigation

          index

          next |

          previous |

    CMake »

    3.29.0-rc3 Documentation »

cmake-modules(7) »

FindGettext

FindGettext¶

Find GNU gettext tools

This module looks for the GNU gettext tools.  This module defines the
following values:

GETTEXT_MSGMERGE_EXECUTABLE: the full path to the msgmerge tool.
GETTEXT_MSGFMT_EXECUTABLE: the full path to the msgfmt tool.
GETTEXT_FOUND: True if gettext has been found.
GETTEXT_VERSION_STRING: the version of gettext found (since CMake 2.8.8)

Additionally it provides the following macros:

GETTEXT_CREATE_TRANSLATIONS ( outputFile [ALL] file1 ...  fileN )

This will create a target "translations" which will convert the
given input po files into the binary output mo file. If the
ALL option is used, the translations will also be created when
building the default target.

GETTEXT_PROCESS_POT_FILE( <potfile> [ALL] [INSTALL_DESTINATION <destdir>]
LANGUAGES <lang1> <lang2> ...  )

Process the given pot file to mo files.
If INSTALL_DESTINATION is given then automatically install rules will
be created, the language subdirectory will be taken into account
(by default use share/locale/).
If ALL is specified, the pot file is processed when building the all target.
It creates a custom target "potfile".

GETTEXT_PROCESS_PO_FILES( <lang> [ALL] [INSTALL_DESTINATION <dir>]
PO_FILES <po1> <po2> ...  )

Process the given po files to mo files for the given language.
If INSTALL_DESTINATION is given then automatically install rules will
be created, the language subdirectory will be taken into account
(by default use share/locale/).
If ALL is specified, the po files are processed when building the all target.
It creates a custom target "pofiles".

New in version 3.2: If you wish to use the Gettext library (libintl), use FindIntl.

Previous topic

FindGDAL

Next topic

FindGIF

This Page

Show Source

Quick search

    <form class="search" action="../search.html" method="get">
      <input type="text" name="q" aria-labelledby="searchlabel" autocomplete="off" autocorrect="off" autocapitalize="off" spellcheck="false"/>
      <input type="submit" value="Go" />
    </form>

Navigation

          index

          next |

          previous |

    CMake »

    3.29.0-rc3 Documentation »

cmake-modules(7) »

FindGettext

        © Copyright 2000-2024 Kitware, Inc. and Contributors.
      Created using Sphinx 6.2.1.


code:
<!DOCTYPE html>

    <meta charset="utf-8" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" /><meta name="generator" content="Docutils 0.19: https://docutils.sourceforge.io/" />

  <title>FindGit — CMake 3.29.0-rc3 Documentation</title>

    <link rel="stylesheet" type="text/css" href="../_static/pygments.css" />
    <link rel="stylesheet" type="text/css" href="../_static/cmake.css" />

    <link rel="icon" href="../_static/cmake-favicon.ico"/>
    <link rel="index" title="Index" href="../genindex.html" />
    <link rel="search" title="Search" href="../search.html" />
    <link rel="next" title="FindGLEW" href="FindGLEW.html" />
    <link rel="prev" title="FindGIF" href="FindGIF.html" />

Navigation

          index

          next |

          previous |

    CMake »

    3.29.0-rc3 Documentation »

cmake-modules(7) »

FindGit

FindGit¶

The module defines the following variables:

GIT_EXECUTABLE

Path to Git command-line client.

Git_FOUND, GIT_FOUND

True if the Git command-line client was found.

GIT_VERSION_STRING

The version of Git found.

New in version 3.14: The module defines the following IMPORTED targets (when
CMAKE_ROLE is PROJECT):

Git::Git

Executable of the Git command-line client.

Example usage:

find_package(Git)
if(Git_FOUND)
  message("Git found: ${GIT_EXECUTABLE}")
endif()

Previous topic

FindGIF

Next topic

FindGLEW

This Page

Show Source

Quick search

    <form class="search" action="../search.html" method="get">
      <input type="text" name="q" aria-labelledby="searchlabel" autocomplete="off" autocorrect="off" autocapitalize="off" spellcheck="false"/>
      <input type="submit" value="Go" />
    </form>

Navigation

          index

          next |

          previous |

    CMake »

    3.29.0-rc3 Documentation »

cmake-modules(7) »

FindGit

        © Copyright 2000-2024 Kitware, Inc. and Contributors.
      Created using Sphinx 6.2.1.


code:
<!DOCTYPE html>

    <meta charset="utf-8" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" /><meta name="generator" content="Docutils 0.19: https://docutils.sourceforge.io/" />

  <title>FindGnuTLS — CMake 3.29.0-rc3 Documentation</title>

    <link rel="stylesheet" type="text/css" href="../_static/pygments.css" />
    <link rel="stylesheet" type="text/css" href="../_static/cmake.css" />

    <link rel="icon" href="../_static/cmake-favicon.ico"/>
    <link rel="index" title="Index" href="../genindex.html" />
    <link rel="search" title="Search" href="../search.html" />
    <link rel="next" title="FindGSL" href="FindGSL.html" />
    <link rel="prev" title="FindGnuplot" href="FindGnuplot.html" />

Navigation

          index

          next |

          previous |

    CMake »

    3.29.0-rc3 Documentation »

cmake-modules(7) »

FindGnuTLS

FindGnuTLS¶

Find the GNU Transport Layer Security library (gnutls)

IMPORTED Targets¶

New in version 3.16.

This module defines IMPORTED target GnuTLS::GnuTLS, if
gnutls has been found.

Result Variables¶

GNUTLS_FOUND

System has gnutls

GNUTLS_INCLUDE_DIR

The gnutls include directory

GNUTLS_LIBRARIES

The libraries needed to use gnutls

GNUTLS_DEFINITIONS

Compiler switches required for using gnutls

GNUTLS_VERSION

version of gnutls.

Table of Contents

FindGnuTLS

IMPORTED Targets

Result Variables

Previous topic

FindGnuplot

Next topic

FindGSL

This Page

Show Source

Quick search

    <form class="search" action="../search.html" method="get">
      <input type="text" name="q" aria-labelledby="searchlabel" autocomplete="off" autocorrect="off" autocapitalize="off" spellcheck="false"/>
      <input type="submit" value="Go" />
    </form>

Navigation

          index

          next |

          previous |

    CMake »

    3.29.0-rc3 Documentation »

cmake-modules(7) »

FindGnuTLS

        © Copyright 2000-2024 Kitware, Inc. and Contributors.
      Created using Sphinx 6.2.1.


code:
<!DOCTYPE html>

    <meta charset="utf-8" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" /><meta name="generator" content="Docutils 0.19: https://docutils.sourceforge.io/" />

  <title>FindGnuplot — CMake 3.29.0-rc3 Documentation</title>

    <link rel="stylesheet" type="text/css" href="../_static/pygments.css" />
    <link rel="stylesheet" type="text/css" href="../_static/cmake.css" />

    <link rel="icon" href="../_static/cmake-favicon.ico"/>
    <link rel="index" title="Index" href="../genindex.html" />
    <link rel="search" title="Search" href="../search.html" />
    <link rel="next" title="FindGnuTLS" href="FindGnuTLS.html" />
    <link rel="prev" title="FindGLUT" href="FindGLUT.html" />

Navigation

          index

          next |

          previous |

    CMake »

    3.29.0-rc3 Documentation »

cmake-modules(7) »

FindGnuplot

FindGnuplot¶

this module looks for gnuplot

Once done this will define

GNUPLOT_FOUND - system has Gnuplot
GNUPLOT_EXECUTABLE - the Gnuplot executable
GNUPLOT_VERSION_STRING - the version of Gnuplot found (since CMake 2.8.8)

GNUPLOT_VERSION_STRING will not work for old versions like 3.7.1.

Previous topic

FindGLUT

Next topic

FindGnuTLS

This Page

Show Source

Quick search

    <form class="search" action="../search.html" method="get">
      <input type="text" name="q" aria-labelledby="searchlabel" autocomplete="off" autocorrect="off" autocapitalize="off" spellcheck="false"/>
      <input type="submit" value="Go" />
    </form>

Navigation

          index

          next |

          previous |

    CMake »

    3.29.0-rc3 Documentation »

cmake-modules(7) »

FindGnuplot

        © Copyright 2000-2024 Kitware, Inc. and Contributors.
      Created using Sphinx 6.2.1.


code:
<!DOCTYPE html>

    <meta charset="utf-8" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" /><meta name="generator" content="Docutils 0.19: https://docutils.sourceforge.io/" />

  <title>FindHDF5 — CMake 3.29.0-rc3 Documentation</title>

    <link rel="stylesheet" type="text/css" href="../_static/pygments.css" />
    <link rel="stylesheet" type="text/css" href="../_static/cmake.css" />

    <link rel="icon" href="../_static/cmake-favicon.ico"/>
    <link rel="index" title="Index" href="../genindex.html" />
    <link rel="search" title="Search" href="../search.html" />
    <link rel="next" title="FindHg" href="FindHg.html" />
    <link rel="prev" title="FindGTK2" href="FindGTK2.html" />

Navigation

          index

          next |

          previous |

    CMake »

    3.29.0-rc3 Documentation »

cmake-modules(7) »

FindHDF5

FindHDF5¶

Find Hierarchical Data Format (HDF5), a library for reading and writing
self describing array data.

This module invokes the HDF5 wrapper compiler that should be installed
alongside HDF5.  Depending upon the HDF5 Configuration, the wrapper
compiler is called either h5cc or h5pcc.  If this succeeds, the module
will then call the compiler with the show argument to see what flags
are used when compiling an HDF5 client application.

The module will optionally accept the COMPONENTS argument.  If no
COMPONENTS are specified, then the find module will default to finding
only the HDF5 C library.  If one or more COMPONENTS are specified, the
module will attempt to find the language bindings for the specified
components.  The valid components are C, CXX, Fortran, HL.
HL refers to the "high-level" HDF5 functions for C and Fortran.
If the COMPONENTS argument is not given, the module will
attempt to find only the C bindings.
For example, to use Fortran HDF5 and HDF5-HL functions, do:
find_package(HDF5 COMPONENTS Fortran HL).

This module will read the variable
HDF5_USE_STATIC_LIBRARIES to determine whether or not to prefer a
static link to a dynamic link for HDF5 and all of it's dependencies.
To use this feature, make sure that the HDF5_USE_STATIC_LIBRARIES
variable is set before the call to find_package.

New in version 3.10: Support for HDF5_USE_STATIC_LIBRARIES on Windows.

Both the serial and parallel HDF5 wrappers are considered and the first
directory to contain either one will be used.  In the event that both appear
in the same directory the serial version is preferentially selected. This
behavior can be reversed by setting the variable HDF5_PREFER_PARALLEL to
TRUE.

In addition to finding the includes and libraries required to compile
an HDF5 client application, this module also makes an effort to find
tools that come with the HDF5 distribution that may be useful for
regression testing.

Result Variables¶

This module will set the following variables in your project:

HDF5_FOUND

HDF5 was found on the system

HDF5_VERSION

New in version 3.3: HDF5 library version

HDF5_INCLUDE_DIRS

Location of the HDF5 header files

HDF5_DEFINITIONS

Required compiler definitions for HDF5

HDF5_LIBRARIES

Required libraries for all requested bindings

HDF5_HL_LIBRARIES

Required libraries for the HDF5 high level API for all bindings,
if the HL component is enabled

Available components are: C CXX Fortran and HL.
For each enabled language binding, a corresponding HDF5_${LANG}_LIBRARIES
variable, and potentially HDF5_${LANG}_DEFINITIONS, will be defined.
If the HL component is enabled, then an HDF5_${LANG}_HL_LIBRARIES will
also be defined.  With all components enabled, the following variables will be defined:

HDF5_C_DEFINITIONS

Required compiler definitions for HDF5 C bindings

HDF5_CXX_DEFINITIONS

Required compiler definitions for HDF5 C++ bindings

HDF5_Fortran_DEFINITIONS

Required compiler definitions for HDF5 Fortran bindings

HDF5_C_INCLUDE_DIRS

Required include directories for HDF5 C bindings

HDF5_CXX_INCLUDE_DIRS

Required include directories for HDF5 C++ bindings

HDF5_Fortran_INCLUDE_DIRS

Required include directories for HDF5 Fortran bindings

HDF5_C_LIBRARIES

Required libraries for the HDF5 C bindings

HDF5_CXX_LIBRARIES

Required libraries for the HDF5 C++ bindings

HDF5_Fortran_LIBRARIES

Required libraries for the HDF5 Fortran bindings

HDF5_C_HL_LIBRARIES

Required libraries for the high level C bindings

HDF5_CXX_HL_LIBRARIES

Required libraries for the high level C++ bindings

HDF5_Fortran_HL_LIBRARIES

Required libraries for the high level Fortran bindings.

HDF5_IS_PARALLEL

HDF5 library has parallel IO support

HDF5_C_COMPILER_EXECUTABLE

path to the HDF5 C wrapper compiler

HDF5_CXX_COMPILER_EXECUTABLE

path to the HDF5 C++ wrapper compiler

HDF5_Fortran_COMPILER_EXECUTABLE

path to the HDF5 Fortran wrapper compiler

HDF5_C_COMPILER_EXECUTABLE_NO_INTERROGATE

path to the primary C compiler which is also the HDF5 wrapper

HDF5_CXX_COMPILER_EXECUTABLE_NO_INTERROGATE

path to the primary C++ compiler which is also the HDF5 wrapper

HDF5_Fortran_COMPILER_EXECUTABLE_NO_INTERROGATE

path to the primary Fortran compiler which is also the HDF5 wrapper

HDF5_DIFF_EXECUTABLE

path to the HDF5 dataset comparison tool

With all components enabled, the following targets will be defined:

HDF5::HDF5

All detected HDF5_LIBRARIES.

hdf5::hdf5

C library.

hdf5::hdf5_cpp

C++ library.

hdf5::hdf5_fortran

Fortran library.

hdf5::hdf5_hl

High-level C library.

hdf5::hdf5_hl_cpp

High-level C++ library.

hdf5::hdf5_hl_fortran

High-level Fortran library.

hdf5::h5diff

h5diff executable.

Hints¶

The following variables can be set to guide the search for HDF5 libraries and includes:

HDF5_PREFER_PARALLEL

New in version 3.4.

set true to prefer parallel HDF5 (by default, serial is preferred)

HDF5_FIND_DEBUG

New in version 3.9.

Set true to get extra debugging output.

HDF5_NO_FIND_PACKAGE_CONFIG_FILE

New in version 3.8.

Set true to skip trying to find hdf5-config.cmake.

Table of Contents

FindHDF5

Result Variables

Hints

Previous topic

FindGTK2

Next topic

FindHg

This Page

Show Source

Quick search

    <form class="search" action="../search.html" method="get">
      <input type="text" name="q" aria-labelledby="searchlabel" autocomplete="off" autocorrect="off" autocapitalize="off" spellcheck="false"/>
      <input type="submit" value="Go" />
    </form>

Navigation

          index

          next |

          previous |

    CMake »

    3.29.0-rc3 Documentation »

cmake-modules(7) »

FindHDF5

        © Copyright 2000-2024 Kitware, Inc. and Contributors.
      Created using Sphinx 6.2.1.


code:
<!DOCTYPE html>

    <meta charset="utf-8" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" /><meta name="generator" content="Docutils 0.19: https://docutils.sourceforge.io/" />

  <title>FindHSPELL — CMake 3.29.0-rc3 Documentation</title>

    <link rel="stylesheet" type="text/css" href="../_static/pygments.css" />
    <link rel="stylesheet" type="text/css" href="../_static/cmake.css" />

    <link rel="icon" href="../_static/cmake-favicon.ico"/>
    <link rel="index" title="Index" href="../genindex.html" />
    <link rel="search" title="Search" href="../search.html" />
    <link rel="next" title="FindHTMLHelp" href="FindHTMLHelp.html" />
    <link rel="prev" title="FindHg" href="FindHg.html" />

Navigation

          index

          next |

          previous |

    CMake »

    3.29.0-rc3 Documentation »

cmake-modules(7) »

FindHSPELL

FindHSPELL¶

Try to find Hebrew spell-checker (Hspell) and morphology engine.

Once done this will define

HSPELL_FOUND - system has Hspell
HSPELL_INCLUDE_DIR - the Hspell include directory
HSPELL_LIBRARIES - The libraries needed to use Hspell
HSPELL_DEFINITIONS - Compiler switches required for using Hspell

HSPELL_VERSION_STRING - The version of Hspell found (x.y)
HSPELL_MAJOR_VERSION  - the major version of Hspell
HSPELL_MINOR_VERSION  - The minor version of Hspell

Previous topic

FindHg

Next topic

FindHTMLHelp

This Page

Show Source

Quick search

    <form class="search" action="../search.html" method="get">
      <input type="text" name="q" aria-labelledby="searchlabel" autocomplete="off" autocorrect="off" autocapitalize="off" spellcheck="false"/>
      <input type="submit" value="Go" />
    </form>

Navigation

          index

          next |

          previous |

    CMake »

    3.29.0-rc3 Documentation »

cmake-modules(7) »

FindHSPELL

        © Copyright 2000-2024 Kitware, Inc. and Contributors.
      Created using Sphinx 6.2.1.


code:
<!DOCTYPE html>

    <meta charset="utf-8" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" /><meta name="generator" content="Docutils 0.19: https://docutils.sourceforge.io/" />

  <title>FindHTMLHelp — CMake 3.29.0-rc3 Documentation</title>

    <link rel="stylesheet" type="text/css" href="../_static/pygments.css" />
    <link rel="stylesheet" type="text/css" href="../_static/cmake.css" />

    <link rel="icon" href="../_static/cmake-favicon.ico"/>
    <link rel="index" title="Index" href="../genindex.html" />
    <link rel="search" title="Search" href="../search.html" />
    <link rel="next" title="FindIce" href="FindIce.html" />
    <link rel="prev" title="FindHSPELL" href="FindHSPELL.html" />

Navigation

          index

          next |

          previous |

    CMake »

    3.29.0-rc3 Documentation »

cmake-modules(7) »

FindHTMLHelp

FindHTMLHelp¶

This module looks for Microsoft HTML Help Compiler

It defines:

HTML_HELP_COMPILER     : full path to the Compiler (hhc.exe)
HTML_HELP_INCLUDE_PATH : include path to the API (htmlhelp.h)
HTML_HELP_LIBRARY      : full path to the library (htmlhelp.lib)

Previous topic

FindHSPELL

Next topic

FindIce

This Page

Show Source

Quick search

    <form class="search" action="../search.html" method="get">
      <input type="text" name="q" aria-labelledby="searchlabel" autocomplete="off" autocorrect="off" autocapitalize="off" spellcheck="false"/>
      <input type="submit" value="Go" />
    </form>

Navigation

          index

          next |

          previous |

    CMake »

    3.29.0-rc3 Documentation »

cmake-modules(7) »

FindHTMLHelp

        © Copyright 2000-2024 Kitware, Inc. and Contributors.
      Created using Sphinx 6.2.1.


code:
<!DOCTYPE html>

    <meta charset="utf-8" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" /><meta name="generator" content="Docutils 0.19: https://docutils.sourceforge.io/" />

  <title>FindHg — CMake 3.29.0-rc3 Documentation</title>

    <link rel="stylesheet" type="text/css" href="../_static/pygments.css" />
    <link rel="stylesheet" type="text/css" href="../_static/cmake.css" />

    <link rel="icon" href="../_static/cmake-favicon.ico"/>
    <link rel="index" title="Index" href="../genindex.html" />
    <link rel="search" title="Search" href="../search.html" />
    <link rel="next" title="FindHSPELL" href="FindHSPELL.html" />
    <link rel="prev" title="FindHDF5" href="FindHDF5.html" />

Navigation

          index

          next |

          previous |

    CMake »

    3.29.0-rc3 Documentation »

cmake-modules(7) »

FindHg

FindHg¶

Extract information from a mercurial working copy.

The module defines the following variables:

HG_EXECUTABLE - path to mercurial command line client (hg)
HG_FOUND - true if the command line client was found
HG_VERSION_STRING - the version of mercurial found

New in version 3.1: If the command line client executable is found the following macro is defined:

HG_WC_INFO(<dir> <var-prefix>)

Hg_WC_INFO extracts information of a mercurial working copy
at a given location.  This macro defines the following variables:

<var-prefix>_WC_CHANGESET - current changeset
<var-prefix>_WC_REVISION - current revision

Example usage:

find_package(Hg)
if(HG_FOUND)
  message("hg found: ${HG_EXECUTABLE}")
  HG_WC_INFO(${PROJECT_SOURCE_DIR} Project)
  message("Current revision is ${Project_WC_REVISION}")
  message("Current changeset is ${Project_WC_CHANGESET}")
endif()

Previous topic

FindHDF5

Next topic

FindHSPELL

This Page

Show Source

Quick search

    <form class="search" action="../search.html" method="get">
      <input type="text" name="q" aria-labelledby="searchlabel" autocomplete="off" autocorrect="off" autocapitalize="off" spellcheck="false"/>
      <input type="submit" value="Go" />
    </form>

Navigation

          index

          next |

          previous |

    CMake »

    3.29.0-rc3 Documentation »

cmake-modules(7) »

FindHg

        © Copyright 2000-2024 Kitware, Inc. and Contributors.
      Created using Sphinx 6.2.1.


code:
<!DOCTYPE html>

    <meta charset="utf-8" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" /><meta name="generator" content="Docutils 0.19: https://docutils.sourceforge.io/" />

  <title>FindICU — CMake 3.29.0-rc3 Documentation</title>

    <link rel="stylesheet" type="text/css" href="../_static/pygments.css" />
    <link rel="stylesheet" type="text/css" href="../_static/cmake.css" />

    <link rel="icon" href="../_static/cmake-favicon.ico"/>
    <link rel="index" title="Index" href="../genindex.html" />
    <link rel="search" title="Search" href="../search.html" />
    <link rel="next" title="FindImageMagick" href="FindImageMagick.html" />
    <link rel="prev" title="FindIcotool" href="FindIcotool.html" />

Navigation

          index

          next |

          previous |

    CMake »

    3.29.0-rc3 Documentation »

cmake-modules(7) »

FindICU

FindICU¶

New in version 3.7.

Find the International Components for Unicode (ICU) libraries and
programs.

This module supports multiple components.
Components can include any of: data, i18n, io, le,
lx, test, tu and uc.

Note that on Windows data is named dt and i18n is named
in; any of the names may be used, and the appropriate
platform-specific library name will be automatically selected.

New in version 3.11: Added support for static libraries on Windows.

This module reports information about the ICU installation in
several variables.  General variables:

ICU_VERSION - ICU release version
ICU_FOUND - true if the main programs and libraries were found
ICU_LIBRARIES - component libraries to be linked
ICU_INCLUDE_DIRS - the directories containing the ICU headers

Imported targets:

ICU::<C>

Where <C> is the name of an ICU component, for example
ICU::i18n; <C> is lower-case.

ICU programs are reported in:

ICU_GENCNVAL_EXECUTABLE - path to gencnval executable
ICU_ICUINFO_EXECUTABLE - path to icuinfo executable
ICU_GENBRK_EXECUTABLE - path to genbrk executable
ICU_ICU-CONFIG_EXECUTABLE - path to icu-config executable
ICU_GENRB_EXECUTABLE - path to genrb executable
ICU_GENDICT_EXECUTABLE - path to gendict executable
ICU_DERB_EXECUTABLE - path to derb executable
ICU_PKGDATA_EXECUTABLE - path to pkgdata executable
ICU_UCONV_EXECUTABLE - path to uconv executable
ICU_GENCFU_EXECUTABLE - path to gencfu executable
ICU_MAKECONV_EXECUTABLE - path to makeconv executable
ICU_GENNORM2_EXECUTABLE - path to gennorm2 executable
ICU_GENCCODE_EXECUTABLE - path to genccode executable
ICU_GENSPREP_EXECUTABLE - path to gensprep executable
ICU_ICUPKG_EXECUTABLE - path to icupkg executable
ICU_GENCMN_EXECUTABLE - path to gencmn executable

ICU component libraries are reported in:

ICU_<C>_FOUND - ON if component was found; ``<C>`` is upper-case.
ICU_<C>_LIBRARIES - libraries for component; ``<C>`` is upper-case.

ICU datafiles are reported in:

ICU_MAKEFILE_INC - Makefile.inc
ICU_PKGDATA_INC - pkgdata.inc

This module reads hints about search results from:

ICU_ROOT - the root of the ICU installation

The environment variable ICU_ROOT may also be used; the
ICU_ROOT variable takes precedence.

The following cache variables may also be set:

ICU_<P>_EXECUTABLE - the path to executable <P>; ``<P>`` is upper-case.
ICU_INCLUDE_DIR - the directory containing the ICU headers
ICU_<C>_LIBRARY - the library for component <C>; ``<C>`` is upper-case.

Note

In most cases none of the above variables will require setting,
unless multiple ICU versions are available and a specific version
is required.

Other variables one may set to control this module are:

ICU_DEBUG - Set to ON to enable debug output from FindICU.

Previous topic

FindIcotool

Next topic

FindImageMagick

This Page

Show Source

Quick search

    <form class="search" action="../search.html" method="get">
      <input type="text" name="q" aria-labelledby="searchlabel" autocomplete="off" autocorrect="off" autocapitalize="off" spellcheck="false"/>
      <input type="submit" value="Go" />
    </form>

Navigation

          index

          next |

          previous |

    CMake »

    3.29.0-rc3 Documentation »

cmake-modules(7) »

FindICU

        © Copyright 2000-2024 Kitware, Inc. and Contributors.
      Created using Sphinx 6.2.1.


code:
<!DOCTYPE html>

    <meta charset="utf-8" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" /><meta name="generator" content="Docutils 0.19: https://docutils.sourceforge.io/" />

  <title>FindITK — CMake 3.29.0-rc3 Documentation</title>

    <link rel="stylesheet" type="text/css" href="../_static/pygments.css" />
    <link rel="stylesheet" type="text/css" href="../_static/cmake.css" />

    <link rel="icon" href="../_static/cmake-favicon.ico"/>
    <link rel="index" title="Index" href="../genindex.html" />
    <link rel="search" title="Search" href="../search.html" />
    <link rel="next" title="FindPythonInterp" href="FindPythonInterp.html" />
    <link rel="prev" title="FindDart" href="FindDart.html" />

Navigation

          index

          next |

          previous |

    CMake »

    3.29.0-rc3 Documentation »

cmake-modules(7) »

FindITK

FindITK¶

This module no longer exists.

This module existed in versions of CMake prior to 3.1, but became
only a thin wrapper around find_package(ITK NO_MODULE) to
provide compatibility for projects using long-outdated conventions.
Now find_package(ITK) will search for ITKConfig.cmake
directly.

Previous topic

FindDart

Next topic

FindPythonInterp

This Page

Show Source

Quick search

    <form class="search" action="../search.html" method="get">
      <input type="text" name="q" aria-labelledby="searchlabel" autocomplete="off" autocorrect="off" autocapitalize="off" spellcheck="false"/>
      <input type="submit" value="Go" />
    </form>

Navigation

          index

          next |

          previous |

    CMake »

    3.29.0-rc3 Documentation »

cmake-modules(7) »

FindITK

        © Copyright 2000-2024 Kitware, Inc. and Contributors.
      Created using Sphinx 6.2.1.


code:
<!DOCTYPE html>

    <meta charset="utf-8" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" /><meta name="generator" content="Docutils 0.19: https://docutils.sourceforge.io/" />

  <title>FindIce — CMake 3.29.0-rc3 Documentation</title>

    <link rel="stylesheet" type="text/css" href="../_static/pygments.css" />
    <link rel="stylesheet" type="text/css" href="../_static/cmake.css" />

    <link rel="icon" href="../_static/cmake-favicon.ico"/>
    <link rel="index" title="Index" href="../genindex.html" />
    <link rel="search" title="Search" href="../search.html" />
    <link rel="next" title="FindIconv" href="FindIconv.html" />
    <link rel="prev" title="FindHTMLHelp" href="FindHTMLHelp.html" />

Navigation

          index

          next |

          previous |

    CMake »

    3.29.0-rc3 Documentation »

cmake-modules(7) »

FindIce

FindIce¶

New in version 3.1.

Find the ZeroC Internet Communication Engine (ICE) programs,
libraries and datafiles.

This module supports multiple components.
Components can include any of: Freeze, Glacier2, Ice,
IceBox, IceDB, IceDiscovery, IceGrid,
IceLocatorDiscovery, IcePatch, IceSSL, IceStorm,
IceUtil, IceXML, or Slice.

Ice 3.7 and later also include C++11-specific components:
Glacier2++11, Ice++11, IceBox++11, IceDiscovery++11
IceGrid, IceLocatorDiscovery++11, IceSSL++11,
IceStorm++11

Note that the set of supported components is Ice version-specific.

New in version 3.4: Imported targets for components and most EXECUTABLE variables.

New in version 3.7: Debug and Release variants are found separately.

New in version 3.10: Ice 3.7 support, including new components, programs and the Nuget package.

This module reports information about the Ice installation in
several variables.  General variables:

Ice_VERSION - Ice release version
Ice_FOUND - true if the main programs and libraries were found
Ice_LIBRARIES - component libraries to be linked
Ice_INCLUDE_DIRS - the directories containing the Ice headers
Ice_SLICE_DIRS - the directories containing the Ice slice interface
                 definitions

Imported targets:

Ice::<C>

Where <C> is the name of an Ice component, for example
Ice::Glacier2 or Ice++11.

Ice slice programs are reported in:

Ice_SLICE2CONFLUENCE_EXECUTABLE - path to slice2confluence executable
Ice_SLICE2CPP_EXECUTABLE - path to slice2cpp executable
Ice_SLICE2CS_EXECUTABLE - path to slice2cs executable
Ice_SLICE2FREEZEJ_EXECUTABLE - path to slice2freezej executable
Ice_SLICE2FREEZE_EXECUTABLE - path to slice2freeze executable
Ice_SLICE2HTML_EXECUTABLE - path to slice2html executable
Ice_SLICE2JAVA_EXECUTABLE - path to slice2java executable
Ice_SLICE2JS_EXECUTABLE - path to slice2js executable
Ice_SLICE2MATLAB_EXECUTABLE - path to slice2matlab executable
Ice_SLICE2OBJC_EXECUTABLE - path to slice2objc executable
Ice_SLICE2PHP_EXECUTABLE - path to slice2php executable
Ice_SLICE2PY_EXECUTABLE - path to slice2py executable
Ice_SLICE2RB_EXECUTABLE - path to slice2rb executable

New in version 3.14: Variables for slice2confluence and slice2matlab.

Ice programs are reported in:

Ice_GLACIER2ROUTER_EXECUTABLE - path to glacier2router executable
Ice_ICEBOX_EXECUTABLE - path to icebox executable
Ice_ICEBOXXX11_EXECUTABLE - path to icebox++11 executable
Ice_ICEBOXADMIN_EXECUTABLE - path to iceboxadmin executable
Ice_ICEBOXD_EXECUTABLE - path to iceboxd executable
Ice_ICEBOXNET_EXECUTABLE - path to iceboxnet executable
Ice_ICEBRIDGE_EXECUTABLE - path to icebridge executable
Ice_ICEGRIDADMIN_EXECUTABLE - path to icegridadmin executable
Ice_ICEGRIDDB_EXECUTABLE - path to icegriddb executable
Ice_ICEGRIDNODE_EXECUTABLE - path to icegridnode executable
Ice_ICEGRIDNODED_EXECUTABLE - path to icegridnoded executable
Ice_ICEGRIDREGISTRY_EXECUTABLE - path to icegridregistry executable
Ice_ICEGRIDREGISTRYD_EXECUTABLE - path to icegridregistryd executable
Ice_ICEPATCH2CALC_EXECUTABLE - path to icepatch2calc executable
Ice_ICEPATCH2CLIENT_EXECUTABLE - path to icepatch2client executable
Ice_ICEPATCH2SERVER_EXECUTABLE - path to icepatch2server executable
Ice_ICESERVICEINSTALL_EXECUTABLE - path to iceserviceinstall executable
Ice_ICESTORMADMIN_EXECUTABLE - path to icestormadmin executable
Ice_ICESTORMDB_EXECUTABLE - path to icestormdb executable
Ice_ICESTORMMIGRATE_EXECUTABLE - path to icestormmigrate executable

Ice db programs (Windows only; standard system versions on all other
platforms) are reported in:

Ice_DB_ARCHIVE_EXECUTABLE - path to db_archive executable
Ice_DB_CHECKPOINT_EXECUTABLE - path to db_checkpoint executable
Ice_DB_DEADLOCK_EXECUTABLE - path to db_deadlock executable
Ice_DB_DUMP_EXECUTABLE - path to db_dump executable
Ice_DB_HOTBACKUP_EXECUTABLE - path to db_hotbackup executable
Ice_DB_LOAD_EXECUTABLE - path to db_load executable
Ice_DB_LOG_VERIFY_EXECUTABLE - path to db_log_verify executable
Ice_DB_PRINTLOG_EXECUTABLE - path to db_printlog executable
Ice_DB_RECOVER_EXECUTABLE - path to db_recover executable
Ice_DB_STAT_EXECUTABLE - path to db_stat executable
Ice_DB_TUNER_EXECUTABLE - path to db_tuner executable
Ice_DB_UPGRADE_EXECUTABLE - path to db_upgrade executable
Ice_DB_VERIFY_EXECUTABLE - path to db_verify executable
Ice_DUMPDB_EXECUTABLE - path to dumpdb executable
Ice_TRANSFORMDB_EXECUTABLE - path to transformdb executable

Ice component libraries are reported in:

Ice_<C>_FOUND - ON if component was found
Ice_<C>_LIBRARIES - libraries for component

Note that <C> is the uppercased name of the component.

This module reads hints about search results from:

Ice_HOME - the root of the Ice installation

The environment variable ICE_HOME may also be used; the
Ice_HOME variable takes precedence.

Note

On Windows, Ice 3.7.0 and later provide libraries via the NuGet
package manager.  Appropriate NuGet packages will be searched for
using CMAKE_PREFIX_PATH, or alternatively Ice_HOME may be
set to the location of a specific NuGet package to restrict the
search.

The following cache variables may also be set:

Ice_<P>_EXECUTABLE - the path to executable <P>
Ice_INCLUDE_DIR - the directory containing the Ice headers
Ice_SLICE_DIR - the directory containing the Ice slice interface
                definitions
Ice_<C>_LIBRARY - the library for component <C>

Note

In most cases none of the above variables will require setting,
unless multiple Ice versions are available and a specific version
is required.  On Windows, the most recent version of Ice will be
found through the registry.  On Unix, the programs, headers and
libraries will usually be in standard locations, but Ice_SLICE_DIRS
might not be automatically detected (commonly known locations are
searched).  All the other variables are defaulted using Ice_HOME,
if set.  It's possible to set Ice_HOME and selectively specify
alternative locations for the other components; this might be
required for e.g. newer versions of Visual Studio if the
heuristics are not sufficient to identify the correct programs and
libraries for the specific Visual Studio version.

Other variables one may set to control this module are:

Ice_DEBUG - Set to ON to enable debug output from FindIce.

Previous topic

FindHTMLHelp

Next topic

FindIconv

This Page

Show Source

Quick search

    <form class="search" action="../search.html" method="get">
      <input type="text" name="q" aria-labelledby="searchlabel" autocomplete="off" autocorrect="off" autocapitalize="off" spellcheck="false"/>
      <input type="submit" value="Go" />
    </form>

Navigation

          index

          next |

          previous |

    CMake »

    3.29.0-rc3 Documentation »

cmake-modules(7) »

FindIce

        © Copyright 2000-2024 Kitware, Inc. and Contributors.
      Created using Sphinx 6.2.1.


code:
<!DOCTYPE html>

    <meta charset="utf-8" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" /><meta name="generator" content="Docutils 0.19: https://docutils.sourceforge.io/" />

  <title>FindIconv — CMake 3.29.0-rc3 Documentation</title>

    <link rel="stylesheet" type="text/css" href="../_static/pygments.css" />
    <link rel="stylesheet" type="text/css" href="../_static/cmake.css" />

    <link rel="icon" href="../_static/cmake-favicon.ico"/>
    <link rel="index" title="Index" href="../genindex.html" />
    <link rel="search" title="Search" href="../search.html" />
    <link rel="next" title="FindIcotool" href="FindIcotool.html" />
    <link rel="prev" title="FindIce" href="FindIce.html" />

Navigation

          index

          next |

          previous |

    CMake »

    3.29.0-rc3 Documentation »

cmake-modules(7) »

FindIconv

FindIconv¶

New in version 3.11.

This module finds the iconv() POSIX.1 functions on the system.
These functions might be provided in the regular C library or externally
in the form of an additional library.

The following variables are provided to indicate iconv support:

Iconv_FOUND¶

Variable indicating if the iconv support was found.

Iconv_INCLUDE_DIRS¶

The directories containing the iconv headers.

Iconv_LIBRARIES¶

The iconv libraries to be linked.

Iconv_VERSION¶

New in version 3.21.

The version of iconv found (x.y)

Iconv_VERSION_MAJOR¶

New in version 3.21.

The major version of iconv

Iconv_VERSION_MINOR¶

New in version 3.21.

The minor version of iconv

Iconv_IS_BUILT_IN¶

A variable indicating whether iconv support is stemming from the
C library or not. Even if the C library provides iconv(), the presence of
an external libiconv implementation might lead to this being false.

Additionally, the following IMPORTED target is being provided:

Iconv::Iconv¶

Imported target for using iconv.

The following cache variables may also be set:

Iconv_INCLUDE_DIR¶

The directory containing the iconv headers.

Iconv_LIBRARY¶

The iconv library (if not implicitly given in the C library).

Note

On POSIX platforms, iconv might be part of the C library and the cache
variables Iconv_INCLUDE_DIR and Iconv_LIBRARY might be empty.

Note

Some libiconv implementations don't embed the version number in their header files.
In this case the variables Iconv_VERSION* will be empty.

Previous topic

FindIce

Next topic

FindIcotool

This Page

Show Source

Quick search

    <form class="search" action="../search.html" method="get">
      <input type="text" name="q" aria-labelledby="searchlabel" autocomplete="off" autocorrect="off" autocapitalize="off" spellcheck="false"/>
      <input type="submit" value="Go" />
    </form>

Navigation

          index

          next |

          previous |

    CMake »

    3.29.0-rc3 Documentation »

cmake-modules(7) »

FindIconv

        © Copyright 2000-2024 Kitware, Inc. and Contributors.
      Created using Sphinx 6.2.1.


code:
<!DOCTYPE html>

    <meta charset="utf-8" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" /><meta name="generator" content="Docutils 0.19: https://docutils.sourceforge.io/" />

  <title>FindIcotool — CMake 3.29.0-rc3 Documentation</title>

    <link rel="stylesheet" type="text/css" href="../_static/pygments.css" />
    <link rel="stylesheet" type="text/css" href="../_static/cmake.css" />

    <link rel="icon" href="../_static/cmake-favicon.ico"/>
    <link rel="index" title="Index" href="../genindex.html" />
    <link rel="search" title="Search" href="../search.html" />
    <link rel="next" title="FindICU" href="FindICU.html" />
    <link rel="prev" title="FindIconv" href="FindIconv.html" />

Navigation

          index

          next |

          previous |

    CMake »

    3.29.0-rc3 Documentation »

cmake-modules(7) »

FindIcotool

FindIcotool¶

Find icotool

This module looks for icotool. Convert and create Win32 icon and cursor files.
This module defines the following values:

ICOTOOL_EXECUTABLE: the full path to the icotool tool.
ICOTOOL_FOUND: True if icotool has been found.
ICOTOOL_VERSION_STRING: the version of icotool found.

Previous topic

FindIconv

Next topic

FindICU

This Page

Show Source

Quick search

    <form class="search" action="../search.html" method="get">
      <input type="text" name="q" aria-labelledby="searchlabel" autocomplete="off" autocorrect="off" autocapitalize="off" spellcheck="false"/>
      <input type="submit" value="Go" />
    </form>

Navigation

          index

          next |

          previous |

    CMake »

    3.29.0-rc3 Documentation »

cmake-modules(7) »

FindIcotool

        © Copyright 2000-2024 Kitware, Inc. and Contributors.
      Created using Sphinx 6.2.1.


code:
<!DOCTYPE html>

    <meta charset="utf-8" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" /><meta name="generator" content="Docutils 0.19: https://docutils.sourceforge.io/" />

  <title>FindImageMagick — CMake 3.29.0-rc3 Documentation</title>

    <link rel="stylesheet" type="text/css" href="../_static/pygments.css" />
    <link rel="stylesheet" type="text/css" href="../_static/cmake.css" />

    <link rel="icon" href="../_static/cmake-favicon.ico"/>
    <link rel="index" title="Index" href="../genindex.html" />
    <link rel="search" title="Search" href="../search.html" />
    <link rel="next" title="FindIntl" href="FindIntl.html" />
    <link rel="prev" title="FindICU" href="FindICU.html" />

Navigation

          index

          next |

          previous |

    CMake »

    3.29.0-rc3 Documentation »

cmake-modules(7) »

FindImageMagick

FindImageMagick¶

Find ImageMagick, software suite for displaying, converting and
manipulating raster images.

New in version 3.9: Added support for ImageMagick 7.

This module will search for a set of ImageMagick tools specified as
components in the find_package() call.  Typical components include,
but are not limited to (future versions of ImageMagick might have
additional components not listed here):

animate

compare

composite

conjure

convert

display

identify

import

mogrify

montage

stream

If no component is specified in the find_package() call, then it only
searches for the ImageMagick executable directory.

There are also components for the following ImageMagick APIs:

Magick++: ImageMagick C++ API, if found.

MagickWand: ImageMagick MagickWand C API, if found.

MagickCore: ImageMagick MagickCore low-level C API, if found.

Imported targets¶

New in version 3.26.

This module defines the following IMPORTED targets:

ImageMagick::Magick++

ImageMagick C++ API, if found.

ImageMagick::MagickWand

ImageMagick MagickWand C API, if found.

ImageMagick::MagickCore

ImageMagick MagickCore low-level C API, if found.

Result Variables¶

ImageMagick_FOUND

TRUE if all components are found.

ImageMagick_EXECUTABLE_DIR

Full path to executables directory.

ImageMagick_INCLUDE_DIRS

Full paths to all include dirs.

ImageMagick_LIBRARIES

Full paths to all libraries.

ImageMagick_COMPILE_OPTIONS

Compile options of all libraries.

ImageMagick_VERSION_STRING

The version of ImageMagick found (since CMake 2.8.8).
Will not work for old versions like 5.2.3.

ImageMagick_<component>_FOUND

TRUE if <component> is found.

ImageMagick_<component>_EXECUTABLE

Full path to <component> executable.

ImageMagick_<component>_INCLUDE_DIRS

Full path to <component> include dirs.

ImageMagick_<component>_COMPILE_OPTIONS

New in version 3.26.

Compile options of <component>.

ImageMagick_<component>_LIBRARIES

Full path to <component> libraries.

Example Usage¶

find_package(ImageMagick COMPONENTS Magick++)
target_link_libraries(example PRIVATE ImageMagick::Magick++)

Table of Contents

FindImageMagick

Imported targets

Result Variables

Example Usage

Previous topic

FindICU

Next topic

FindIntl

This Page

Show Source

Quick search

    <form class="search" action="../search.html" method="get">
      <input type="text" name="q" aria-labelledby="searchlabel" autocomplete="off" autocorrect="off" autocapitalize="off" spellcheck="false"/>
      <input type="submit" value="Go" />
    </form>

Navigation

          index

          next |

          previous |

    CMake »

    3.29.0-rc3 Documentation »

cmake-modules(7) »

FindImageMagick

        © Copyright 2000-2024 Kitware, Inc. and Contributors.
      Created using Sphinx 6.2.1.


code:
<!DOCTYPE html>

    <meta charset="utf-8" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" /><meta name="generator" content="Docutils 0.19: https://docutils.sourceforge.io/" />

  <title>FindIntl — CMake 3.29.0-rc3 Documentation</title>

    <link rel="stylesheet" type="text/css" href="../_static/pygments.css" />
    <link rel="stylesheet" type="text/css" href="../_static/cmake.css" />

    <link rel="icon" href="../_static/cmake-favicon.ico"/>
    <link rel="index" title="Index" href="../genindex.html" />
    <link rel="search" title="Search" href="../search.html" />
    <link rel="next" title="FindJasper" href="FindJasper.html" />
    <link rel="prev" title="FindImageMagick" href="FindImageMagick.html" />

Navigation

          index

          next |

          previous |

    CMake »

    3.29.0-rc3 Documentation »

cmake-modules(7) »

FindIntl

FindIntl¶

New in version 3.2.

Find the Gettext libintl headers and libraries.

This module reports information about the Gettext libintl
installation in several variables.

Intl_FOUND¶

True if libintl is found.

Intl_INCLUDE_DIRS¶

The directory containing the libintl headers.

Intl_LIBRARIES¶

The intl libraries to be linked.

Intl_VERSION¶

New in version 3.21.

The version of intl found (x.y.z)

Intl_VERSION_MAJOR¶

New in version 3.21.

The major version of intl

Intl_VERSION_MINOR¶

New in version 3.21.

The minor version of intl

Intl_VERSION_PATCH¶

New in version 3.21.

The patch version of intl

New in version 3.20: This module defines IMPORTED target Intl::Intl.

The following cache variables may also be set:

Intl_INCLUDE_DIR¶

The directory containing the libintl headers

Intl_LIBRARY¶

The libintl library (if any)

Intl_IS_BUILT_IN¶

New in version 3.20.

whether intl is a part of the C library.

Note

On some platforms, such as Linux with GNU libc, the gettext
functions are present in the C standard library and libintl
is not required.  Intl_LIBRARIES will be empty in this
case.

Note

Some libintl implementations don't embed the version number in their header files.
In this case the variables Intl_VERSION* will be empty.

Note

If you wish to use the Gettext tools (msgmerge,
msgfmt, etc.), use FindGettext.

Previous topic

FindImageMagick

Next topic

FindJasper

This Page

Show Source

Quick search

    <form class="search" action="../search.html" method="get">
      <input type="text" name="q" aria-labelledby="searchlabel" autocomplete="off" autocorrect="off" autocapitalize="off" spellcheck="false"/>
      <input type="submit" value="Go" />
    </form>

Navigation

          index

          next |

          previous |

    CMake »

    3.29.0-rc3 Documentation »

cmake-modules(7) »

FindIntl

        © Copyright 2000-2024 Kitware, Inc. and Contributors.
      Created using Sphinx 6.2.1.


code:
<!DOCTYPE html>

    <meta charset="utf-8" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" /><meta name="generator" content="Docutils 0.19: https://docutils.sourceforge.io/" />

  <title>FindJNI — CMake 3.29.0-rc3 Documentation</title>

    <link rel="stylesheet" type="text/css" href="../_static/pygments.css" />
    <link rel="stylesheet" type="text/css" href="../_static/cmake.css" />

    <link rel="icon" href="../_static/cmake-favicon.ico"/>
    <link rel="index" title="Index" href="../genindex.html" />
    <link rel="search" title="Search" href="../search.html" />
    <link rel="next" title="FindJPEG" href="FindJPEG.html" />
    <link rel="prev" title="FindJava" href="FindJava.html" />

Navigation

          index

          next |

          previous |

    CMake »

    3.29.0-rc3 Documentation »

cmake-modules(7) »

FindJNI

FindJNI¶

Find Java Native Interface (JNI) headers and libraries.

JNI enables Java code running in a Java Virtual Machine (JVM) or Dalvik Virtual
Machine (DVM) on Android to call and be called by native applications and
libraries written in other languages such as C and C++.

This module finds if Java is installed and determines where the
include files and libraries are.  It also determines what the name of
the library is.  The caller may set variable JAVA_HOME to specify a
Java installation prefix explicitly.

New in version 3.24: Added imported targets, components AWT, JVM, and Android NDK support.
If no components are specified, the module defaults to an empty components
list while targeting Android, and all available components otherwise.

When using Android NDK, the corresponding package version is reported and a
specific release can be requested. At Android API level 31 and above, the
additional NativeHelper component can be requested. NativeHelper is
also exposed as an implicit dependency of the JVM component (only if this
does not cause a conflict) which provides a uniform access to JVM functions.

Imported Targets¶

New in version 3.24.

JNI::JNI

Main JNI target, defined only if jni.h was found.

JNI::AWT

Java AWT Native Interface (JAWT) library, defined only if component AWT was
found.

JNI::JVM

Java Virtual Machine (JVM) library, defined only if component JVM was found.

JNI::NativeHelper

When targeting Android API level 31 and above, the import target will provide
access to libnativehelper.so that exposes JVM functions such as
JNI_CreateJavaVM.

Result Variables¶

This module sets the following result variables:

JNI_INCLUDE_DIRS

The include directories to use.

JNI_LIBRARIES

The libraries to use (JAWT and JVM).

JNI_FOUND

TRUE if JNI headers and libraries were found.

JNI_<component>_FOUND

New in version 3.24.

TRUE if <component> was found.

JNI_VERSION

Full Android NDK package version (including suffixes such as -beta3 and
-rc1) or undefined otherwise.

JNI_VERSION_MAJOR

New in version 3.24.

Android NDK major version or undefined otherwise.

JNI_VERSION_MINOR

New in version 3.24.

Android NDK minor version or undefined otherwise.

JNI_VERSION_PATCH

New in version 3.24.

Android NDK patch version or undefined otherwise.

Cache Variables¶

The following cache variables are also available to set or use:

JAVA_AWT_LIBRARY

The path to the Java AWT Native Interface (JAWT) library.

JAVA_JVM_LIBRARY

The path to the Java Virtual Machine (JVM) library.

JAVA_INCLUDE_PATH

The include path to jni.h.

JAVA_INCLUDE_PATH2

The include path to machine-dependant headers jni_md.h and jniport.h.
The variable is defined only if jni.h depends on one of these headers. In
contrast, Android NDK jni.h can be typically used standalone.

JAVA_AWT_INCLUDE_PATH

The include path to jawt.h.

Table of Contents

FindJNI

Imported Targets

Result Variables

Cache Variables

Previous topic

FindJava

Next topic

FindJPEG

This Page

Show Source

Quick search

    <form class="search" action="../search.html" method="get">
      <input type="text" name="q" aria-labelledby="searchlabel" autocomplete="off" autocorrect="off" autocapitalize="off" spellcheck="false"/>
      <input type="submit" value="Go" />
    </form>

Navigation

          index

          next |

          previous |

    CMake »

    3.29.0-rc3 Documentation »

cmake-modules(7) »

FindJNI

        © Copyright 2000-2024 Kitware, Inc. and Contributors.
      Created using Sphinx 6.2.1.


code:
<!DOCTYPE html>

    <meta charset="utf-8" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" /><meta name="generator" content="Docutils 0.19: https://docutils.sourceforge.io/" />

  <title>FindJPEG — CMake 3.29.0-rc3 Documentation</title>

    <link rel="stylesheet" type="text/css" href="../_static/pygments.css" />
    <link rel="stylesheet" type="text/css" href="../_static/cmake.css" />

    <link rel="icon" href="../_static/cmake-favicon.ico"/>
    <link rel="index" title="Index" href="../genindex.html" />
    <link rel="search" title="Search" href="../search.html" />
    <link rel="next" title="FindKDE3" href="FindKDE3.html" />
    <link rel="prev" title="FindJNI" href="FindJNI.html" />

Navigation

          index

          next |

          previous |

    CMake »

    3.29.0-rc3 Documentation »

cmake-modules(7) »

FindJPEG

FindJPEG¶

Find the Joint Photographic Experts Group (JPEG) library (libjpeg)

Imported targets¶

New in version 3.12.

This module defines the following IMPORTED targets:

JPEG::JPEG

The JPEG library, if found.

Result variables¶

This module will set the following variables in your project:

JPEG_FOUND

If false, do not try to use JPEG.

JPEG_INCLUDE_DIRS

where to find jpeglib.h, etc.

JPEG_LIBRARIES

the libraries needed to use JPEG.

JPEG_VERSION

New in version 3.12: the version of the JPEG library found

Cache variables¶

The following cache variables may also be set:

JPEG_INCLUDE_DIRS

where to find jpeglib.h, etc.

JPEG_LIBRARY_RELEASE

where to find the JPEG library (optimized).

JPEG_LIBRARY_DEBUG

where to find the JPEG library (debug).

New in version 3.12: Debug and Release variand are found separately.

Obsolete variables¶

JPEG_INCLUDE_DIR

where to find jpeglib.h, etc. (same as JPEG_INCLUDE_DIRS)

JPEG_LIBRARY

where to find the JPEG library.

Table of Contents

FindJPEG

Imported targets

Result variables

Cache variables

Obsolete variables

Previous topic

FindJNI

Next topic

FindKDE3

This Page

Show Source

Quick search

    <form class="search" action="../search.html" method="get">
      <input type="text" name="q" aria-labelledby="searchlabel" autocomplete="off" autocorrect="off" autocapitalize="off" spellcheck="false"/>
      <input type="submit" value="Go" />
    </form>

Navigation

          index

          next |

          previous |

    CMake »

    3.29.0-rc3 Documentation »

cmake-modules(7) »

FindJPEG

        © Copyright 2000-2024 Kitware, Inc. and Contributors.
      Created using Sphinx 6.2.1.


code:
<!DOCTYPE html>

    <meta charset="utf-8" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" /><meta name="generator" content="Docutils 0.19: https://docutils.sourceforge.io/" />

  <title>FindJasper — CMake 3.29.0-rc3 Documentation</title>

    <link rel="stylesheet" type="text/css" href="../_static/pygments.css" />
    <link rel="stylesheet" type="text/css" href="../_static/cmake.css" />

    <link rel="icon" href="../_static/cmake-favicon.ico"/>
    <link rel="index" title="Index" href="../genindex.html" />
    <link rel="search" title="Search" href="../search.html" />
    <link rel="next" title="FindJava" href="FindJava.html" />
    <link rel="prev" title="FindIntl" href="FindIntl.html" />

Navigation

          index

          next |

          previous |

    CMake »

    3.29.0-rc3 Documentation »

cmake-modules(7) »

FindJasper

FindJasper¶

Find the Jasper JPEG2000 library.

IMPORTED Targets¶

Jasper::Jasper

The jasper library, if found.

Result Variables¶

This module defines the following variables:

JASPER_FOUND

system has Jasper

JASPER_INCLUDE_DIRS

New in version 3.22.

the Jasper include directory

JASPER_LIBRARIES

the libraries needed to use Jasper

JASPER_VERSION_STRING

the version of Jasper found

Cache variables¶

The following cache variables may also be set:

JASPER_INCLUDE_DIR

where to find jasper/jasper.h, etc.

JASPER_LIBRARY_RELEASE

where to find the Jasper library (optimized).

JASPER_LIBARRY_DEBUG

where to find the Jasper library (debug).

Table of Contents

FindJasper

IMPORTED Targets

Result Variables

Cache variables

Previous topic

FindIntl

Next topic

FindJava

This Page

Show Source

Quick search

    <form class="search" action="../search.html" method="get">
      <input type="text" name="q" aria-labelledby="searchlabel" autocomplete="off" autocorrect="off" autocapitalize="off" spellcheck="false"/>
      <input type="submit" value="Go" />
    </form>

Navigation

          index

          next |

          previous |

    CMake »

    3.29.0-rc3 Documentation »

cmake-modules(7) »

FindJasper

        © Copyright 2000-2024 Kitware, Inc. and Contributors.
      Created using Sphinx 6.2.1.


code:
<!DOCTYPE html>

    <meta charset="utf-8" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" /><meta name="generator" content="Docutils 0.19: https://docutils.sourceforge.io/" />

  <title>FindJava — CMake 3.29.0-rc3 Documentation</title>

    <link rel="stylesheet" type="text/css" href="../_static/pygments.css" />
    <link rel="stylesheet" type="text/css" href="../_static/cmake.css" />

    <link rel="icon" href="../_static/cmake-favicon.ico"/>
    <link rel="index" title="Index" href="../genindex.html" />
    <link rel="search" title="Search" href="../search.html" />
    <link rel="next" title="FindJNI" href="FindJNI.html" />
    <link rel="prev" title="FindJasper" href="FindJasper.html" />

Navigation

          index

          next |

          previous |

    CMake »

    3.29.0-rc3 Documentation »

cmake-modules(7) »

FindJava

FindJava¶

Find Java

This module finds if Java is installed and determines where the
include files and libraries are.  The caller may set variable JAVA_HOME
to specify a Java installation prefix explicitly.

See also the FindJNI module to find Java Native Interface (JNI).

New in version 3.10: Added support for Java 9+ version parsing.

Specify one or more of the following components as you call this find module. See example below.

Runtime     = Java Runtime Environment used to execute Java byte-compiled applications
Development = Development tools (java, javac, javah, jar and javadoc), includes Runtime component
IdlJ        = Interface Description Language (IDL) to Java compiler
JarSigner   = Signer and verifier tool for Java Archive (JAR) files

This module sets the following result variables:

Java_JAVA_EXECUTABLE      = the full path to the Java runtime
Java_JAVAC_EXECUTABLE     = the full path to the Java compiler
Java_JAVAH_EXECUTABLE     = the full path to the Java header generator
Java_JAVADOC_EXECUTABLE   = the full path to the Java documentation generator
Java_IDLJ_EXECUTABLE      = the full path to the Java idl compiler
Java_JAR_EXECUTABLE       = the full path to the Java archiver
Java_JARSIGNER_EXECUTABLE = the full path to the Java jar signer
Java_VERSION_STRING       = Version of java found, eg. 1.6.0_12
Java_VERSION_MAJOR        = The major version of the package found.
Java_VERSION_MINOR        = The minor version of the package found.
Java_VERSION_PATCH        = The patch version of the package found.
Java_VERSION_TWEAK        = The tweak version of the package found (after '_')
Java_VERSION              = This is set to: $major[.$minor[.$patch[.$tweak]]]

New in version 3.4: Added the Java_IDLJ_EXECUTABLE and Java_JARSIGNER_EXECUTABLE
variables.

The minimum required version of Java can be specified using the
find_package() syntax, e.g.

find_package(Java 1.8)

NOTE: ${Java_VERSION} and ${Java_VERSION_STRING} are not guaranteed to
be identical.  For example some java version may return:
Java_VERSION_STRING = 1.8.0_17 and Java_VERSION = 1.8.0.17

another example is the Java OEM, with: Java_VERSION_STRING = 1.8.0-oem
and Java_VERSION = 1.8.0

For these components the following variables are set:

Java_FOUND                    - TRUE if all components are found.
Java_<component>_FOUND        - TRUE if <component> is found.

Example Usages:

find_package(Java)
find_package(Java 1.8 REQUIRED)
find_package(Java COMPONENTS Runtime)
find_package(Java COMPONENTS Development)

Previous topic

FindJasper

Next topic

FindJNI

This Page

Show Source

Quick search

    <form class="search" action="../search.html" method="get">
      <input type="text" name="q" aria-labelledby="searchlabel" autocomplete="off" autocorrect="off" autocapitalize="off" spellcheck="false"/>
      <input type="submit" value="Go" />
    </form>

Navigation

          index

          next |

          previous |

    CMake »

    3.29.0-rc3 Documentation »

cmake-modules(7) »

FindJava

        © Copyright 2000-2024 Kitware, Inc. and Contributors.
      Created using Sphinx 6.2.1.


code:
<!DOCTYPE html>

    <meta charset="utf-8" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" /><meta name="generator" content="Docutils 0.19: https://docutils.sourceforge.io/" />

  <title>FindKDE3 — CMake 3.29.0-rc3 Documentation</title>

    <link rel="stylesheet" type="text/css" href="../_static/pygments.css" />
    <link rel="stylesheet" type="text/css" href="../_static/cmake.css" />

    <link rel="icon" href="../_static/cmake-favicon.ico"/>
    <link rel="index" title="Index" href="../genindex.html" />
    <link rel="search" title="Search" href="../search.html" />
    <link rel="next" title="FindKDE4" href="FindKDE4.html" />
    <link rel="prev" title="FindJPEG" href="FindJPEG.html" />

Navigation

          index

          next |

          previous |

    CMake »

    3.29.0-rc3 Documentation »

cmake-modules(7) »

FindKDE3

FindKDE3¶

Find the KDE3 include and library dirs, KDE preprocessors and define a some macros

This module defines the following variables:

KDE3_DEFINITIONS

compiler definitions required for compiling KDE software

KDE3_INCLUDE_DIR

the KDE include directory

KDE3_INCLUDE_DIRS

the KDE and the Qt include directory, for use with include_directories()

KDE3_LIB_DIR

the directory where the KDE libraries are installed, for use with link_directories()

QT_AND_KDECORE_LIBS

this contains both the Qt and the kdecore library

KDE3_DCOPIDL_EXECUTABLE

the dcopidl executable

KDE3_DCOPIDL2CPP_EXECUTABLE

the dcopidl2cpp executable

KDE3_KCFGC_EXECUTABLE

the kconfig_compiler executable

KDE3_FOUND

set to TRUE if all of the above has been found

The following user adjustable options are provided:

KDE3_BUILD_TESTS

enable this to build KDE testcases

It also adds the following macros (from KDE3Macros.cmake) SRCS_VAR is
always the variable which contains the list of source files for your
application or library.

KDE3_AUTOMOC(file1 ...  fileN)

Call this if you want to have automatic moc file handling.
This means if you include "foo.moc" in the source file foo.cpp
a moc file for the header foo.h will be created automatically.
You can set the property SKIP_AUTOMAKE using set_source_files_properties()
to exclude some files in the list from being processed.

KDE3_ADD_MOC_FILES(SRCS_VAR file1 ...  fileN )

If you don't use the KDE3_AUTOMOC() macro, for the files
listed here moc files will be created (named "foo.moc.cpp")

KDE3_ADD_DCOP_SKELS(SRCS_VAR header1.h ...  headerN.h )

Use this to generate DCOP skeletions from the listed headers.

KDE3_ADD_DCOP_STUBS(SRCS_VAR header1.h ...  headerN.h )

Use this to generate DCOP stubs from the listed headers.

KDE3_ADD_UI_FILES(SRCS_VAR file1.ui ...  fileN.ui )

Use this to add the Qt designer ui files to your application/library.

KDE3_ADD_KCFG_FILES(SRCS_VAR file1.kcfgc ...  fileN.kcfgc )

Use this to add KDE kconfig compiler files to your application/library.

KDE3_INSTALL_LIBTOOL_FILE(target)

This will create and install a simple libtool file for the given target.

KDE3_ADD_EXECUTABLE(name file1 ...  fileN )

Currently identical to add_executable(), may provide some advanced
features in the future.

KDE3_ADD_KPART(name [WITH_PREFIX] file1 ...  fileN )

Create a KDE plugin (KPart, kioslave, etc.) from the given source files.
If WITH_PREFIX is given, the resulting plugin will have the prefix "lib",
otherwise it won't.
It creates and installs an appropriate libtool la-file.

KDE3_ADD_KDEINIT_EXECUTABLE(name file1 ...  fileN )

Create a KDE application in the form of a module loadable via kdeinit.
A library named kdeinit_<name> will be created and a small executable
which links to it.

The option KDE3_ENABLE_FINAL to enable all-in-one compilation is no
longer supported.

Author: Alexander Neundorf <neundorf@kde.org>

Previous topic

FindJPEG

Next topic

FindKDE4

This Page

Show Source

Quick search

    <form class="search" action="../search.html" method="get">
      <input type="text" name="q" aria-labelledby="searchlabel" autocomplete="off" autocorrect="off" autocapitalize="off" spellcheck="false"/>
      <input type="submit" value="Go" />
    </form>

Navigation

          index

          next |

          previous |

    CMake »

    3.29.0-rc3 Documentation »

cmake-modules(7) »

FindKDE3

        © Copyright 2000-2024 Kitware, Inc. and Contributors.
      Created using Sphinx 6.2.1.


code:
<!DOCTYPE html>

    <meta charset="utf-8" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" /><meta name="generator" content="Docutils 0.19: https://docutils.sourceforge.io/" />

  <title>FindKDE4 — CMake 3.29.0-rc3 Documentation</title>

    <link rel="stylesheet" type="text/css" href="../_static/pygments.css" />
    <link rel="stylesheet" type="text/css" href="../_static/cmake.css" />

    <link rel="icon" href="../_static/cmake-favicon.ico"/>
    <link rel="index" title="Index" href="../genindex.html" />
    <link rel="search" title="Search" href="../search.html" />
    <link rel="next" title="FindLAPACK" href="FindLAPACK.html" />
    <link rel="prev" title="FindKDE3" href="FindKDE3.html" />

Navigation

          index

          next |

          previous |

    CMake »

    3.29.0-rc3 Documentation »

cmake-modules(7) »

FindKDE4

FindKDE4¶

Find KDE4 and provide all necessary variables and macros to compile
software for it.  It looks for KDE 4 in the following directories in
the given order:

CMAKE_INSTALL_PREFIX
KDEDIRS
/opt/kde4

Please look in FindKDE4Internal.cmake and KDE4Macros.cmake for more
information.  They are installed with the KDE 4 libraries in
$KDEDIRS/share/apps/cmake/modules/.

Author: Alexander Neundorf <neundorf@kde.org>

Previous topic

FindKDE3

Next topic

FindLAPACK

This Page

Show Source

Quick search

    <form class="search" action="../search.html" method="get">
      <input type="text" name="q" aria-labelledby="searchlabel" autocomplete="off" autocorrect="off" autocapitalize="off" spellcheck="false"/>
      <input type="submit" value="Go" />
    </form>

Navigation

          index

          next |

          previous |

    CMake »

    3.29.0-rc3 Documentation »

cmake-modules(7) »

FindKDE4

        © Copyright 2000-2024 Kitware, Inc. and Contributors.
      Created using Sphinx 6.2.1.


code:
<!DOCTYPE html>

    <meta charset="utf-8" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" /><meta name="generator" content="Docutils 0.19: https://docutils.sourceforge.io/" />

  <title>FindLAPACK — CMake 3.29.0-rc3 Documentation</title>

    <link rel="stylesheet" type="text/css" href="../_static/pygments.css" />
    <link rel="stylesheet" type="text/css" href="../_static/cmake.css" />

    <link rel="icon" href="../_static/cmake-favicon.ico"/>
    <link rel="index" title="Index" href="../genindex.html" />
    <link rel="search" title="Search" href="../search.html" />
    <link rel="next" title="FindLATEX" href="FindLATEX.html" />
    <link rel="prev" title="FindKDE4" href="FindKDE4.html" />

Navigation

          index

          next |

          previous |

    CMake »

    3.29.0-rc3 Documentation »

cmake-modules(7) »

FindLAPACK

FindLAPACK¶

Find Linear Algebra PACKage (LAPACK) library

This module finds an installed Fortran library that implements the
LAPACK linear-algebra interface.

At least one of the C, CXX, or Fortran languages must be enabled.

Input Variables¶

The following variables may be set to influence this module's behavior:

BLA_STATIC

if ON use static linkage

BLA_VENDOR

Set to one of the BLAS/LAPACK Vendors to search for BLAS only
from the specified vendor.  If not set, all vendors are considered.

BLA_F95

if ON tries to find the BLAS95/LAPACK95 interfaces

BLA_PREFER_PKGCONFIG

New in version 3.20.

if set pkg-config will be used to search for a LAPACK library first
and if one is found that is preferred

BLA_PKGCONFIG_LAPACK

New in version 3.25.

If set, the pkg-config method will look for this module name instead of
just lapack.

BLA_SIZEOF_INTEGER

New in version 3.22.

Specify the BLAS/LAPACK library integer size:

4

Search for a BLAS/LAPACK with 32-bit integer interfaces.

8

Search for a BLAS/LAPACK with 64-bit integer interfaces.

ANY

Search for any BLAS/LAPACK.
Most likely, a BLAS/LAPACK with 32-bit integer interfaces will be found.

Imported targets¶

This module defines the following IMPORTED targets:

LAPACK::LAPACK

New in version 3.18.

The libraries to use for LAPACK, if found.

Result Variables¶

This module defines the following variables:

LAPACK_FOUND

library implementing the LAPACK interface is found

LAPACK_LINKER_FLAGS

uncached list of required linker flags (excluding -l and -L).

LAPACK_LIBRARIES

uncached list of libraries (using full path name) to link against
to use LAPACK

LAPACK95_LIBRARIES

uncached list of libraries (using full path name) to link against
to use LAPACK95

LAPACK95_FOUND

library implementing the LAPACK95 interface is found

Intel MKL¶

To use the Intel MKL implementation of LAPACK, a project must enable at least
one of the C or CXX languages.  Set BLA_VENDOR to an Intel MKL
variant either on the command-line as -DBLA_VENDOR=Intel10_64lp or in
project code:

set(BLA_VENDOR Intel10_64lp)
find_package(LAPACK)

In order to build a project using Intel MKL, and end user must first
establish an Intel MKL environment.  See the FindBLAS module
section on Intel MKL for details.

Table of Contents

FindLAPACK

Input Variables

Imported targets

Result Variables

Intel MKL

Previous topic

FindKDE4

Next topic

FindLATEX

This Page

Show Source

Quick search

    <form class="search" action="../search.html" method="get">
      <input type="text" name="q" aria-labelledby="searchlabel" autocomplete="off" autocorrect="off" autocapitalize="off" spellcheck="false"/>
      <input type="submit" value="Go" />
    </form>

Navigation

          index

          next |

          previous |

    CMake »

    3.29.0-rc3 Documentation »

cmake-modules(7) »

FindLAPACK

        © Copyright 2000-2024 Kitware, Inc. and Contributors.
      Created using Sphinx 6.2.1.


code:
<!DOCTYPE html>

    <meta charset="utf-8" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" /><meta name="generator" content="Docutils 0.19: https://docutils.sourceforge.io/" />

  <title>FindLATEX — CMake 3.29.0-rc3 Documentation</title>

    <link rel="stylesheet" type="text/css" href="../_static/pygments.css" />
    <link rel="stylesheet" type="text/css" href="../_static/cmake.css" />

    <link rel="icon" href="../_static/cmake-favicon.ico"/>
    <link rel="index" title="Index" href="../genindex.html" />
    <link rel="search" title="Search" href="../search.html" />
    <link rel="next" title="FindLibArchive" href="FindLibArchive.html" />
    <link rel="prev" title="FindLAPACK" href="FindLAPACK.html" />

Navigation

          index

          next |

          previous |

    CMake »

    3.29.0-rc3 Documentation »

cmake-modules(7) »

FindLATEX

FindLATEX¶

Find LaTeX

This module finds an installed LaTeX and determines the location
of the compiler.  Additionally the module looks for Latex-related
software like BibTeX.

New in version 3.2: Component processing; support for htlatex, pdftops, Biber, xindy, XeLaTeX,
LuaLaTeX.

This module sets the following result variables:

LATEX_FOUND:          whether found Latex and requested components
LATEX_<component>_FOUND:  whether found <component>
LATEX_COMPILER:       path to the LaTeX compiler
PDFLATEX_COMPILER:    path to the PdfLaTeX compiler
XELATEX_COMPILER:     path to the XeLaTeX compiler
LUALATEX_COMPILER:    path to the LuaLaTeX compiler
BIBTEX_COMPILER:      path to the BibTeX compiler
BIBER_COMPILER:       path to the Biber compiler
MAKEINDEX_COMPILER:   path to the MakeIndex compiler
XINDY_COMPILER:       path to the xindy compiler
DVIPS_CONVERTER:      path to the DVIPS converter
DVIPDF_CONVERTER:     path to the DVIPDF converter
PS2PDF_CONVERTER:     path to the PS2PDF converter
PDFTOPS_CONVERTER:    path to the pdftops converter
LATEX2HTML_CONVERTER: path to the LaTeX2Html converter
HTLATEX_COMPILER:     path to the htlatex compiler

Possible components are:

PDFLATEX
XELATEX
LUALATEX
BIBTEX
BIBER
MAKEINDEX
XINDY
DVIPS
DVIPDF
PS2PDF
PDFTOPS
LATEX2HTML
HTLATEX

Example Usages:

find_package(LATEX)
find_package(LATEX COMPONENTS PDFLATEX)
find_package(LATEX COMPONENTS BIBTEX PS2PDF)

Previous topic

FindLAPACK

Next topic

FindLibArchive

This Page

Show Source

Quick search

    <form class="search" action="../search.html" method="get">
      <input type="text" name="q" aria-labelledby="searchlabel" autocomplete="off" autocorrect="off" autocapitalize="off" spellcheck="false"/>
      <input type="submit" value="Go" />
    </form>

Navigation

          index

          next |

          previous |

    CMake »

    3.29.0-rc3 Documentation »

cmake-modules(7) »

FindLATEX

        © Copyright 2000-2024 Kitware, Inc. and Contributors.
      Created using Sphinx 6.2.1.


code:
<!DOCTYPE html>

    <meta charset="utf-8" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" /><meta name="generator" content="Docutils 0.19: https://docutils.sourceforge.io/" />

  <title>FindLTTngUST — CMake 3.29.0-rc3 Documentation</title>

    <link rel="stylesheet" type="text/css" href="../_static/pygments.css" />
    <link rel="stylesheet" type="text/css" href="../_static/cmake.css" />

    <link rel="icon" href="../_static/cmake-favicon.ico"/>
    <link rel="index" title="Index" href="../genindex.html" />
    <link rel="search" title="Search" href="../search.html" />
    <link rel="next" title="FindLua" href="FindLua.html" />
    <link rel="prev" title="FindLibXslt" href="FindLibXslt.html" />

Navigation

          index

          next |

          previous |

    CMake »

    3.29.0-rc3 Documentation »

cmake-modules(7) »

FindLTTngUST

FindLTTngUST¶

New in version 3.6.

Find
Linux Trace Toolkit Next Generation (LTTng-UST) library.

Imported target¶

This module defines the following IMPORTED target:

LTTng::UST

The LTTng-UST library, if found

Result variables¶

This module sets the following

LTTNGUST_FOUND

TRUE if system has LTTng-UST

LTTNGUST_INCLUDE_DIRS

The LTTng-UST include directories

LTTNGUST_LIBRARIES

The libraries needed to use LTTng-UST

LTTNGUST_VERSION_STRING

The LTTng-UST version

LTTNGUST_HAS_TRACEF

TRUE if the tracef() API is available in the system's LTTng-UST

LTTNGUST_HAS_TRACELOG

TRUE if the tracelog() API is available in the system's LTTng-UST

Table of Contents

FindLTTngUST

Imported target

Result variables

Previous topic

FindLibXslt

Next topic

FindLua

This Page

Show Source

Quick search

    <form class="search" action="../search.html" method="get">
      <input type="text" name="q" aria-labelledby="searchlabel" autocomplete="off" autocorrect="off" autocapitalize="off" spellcheck="false"/>
      <input type="submit" value="Go" />
    </form>

Navigation

          index

          next |

          previous |

    CMake »

    3.29.0-rc3 Documentation »

cmake-modules(7) »

FindLTTngUST

        © Copyright 2000-2024 Kitware, Inc. and Contributors.
      Created using Sphinx 6.2.1.


code:
<!DOCTYPE html>

    <meta charset="utf-8" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" /><meta name="generator" content="Docutils 0.19: https://docutils.sourceforge.io/" />

  <title>FindLibArchive — CMake 3.29.0-rc3 Documentation</title>

    <link rel="stylesheet" type="text/css" href="../_static/pygments.css" />
    <link rel="stylesheet" type="text/css" href="../_static/cmake.css" />

    <link rel="icon" href="../_static/cmake-favicon.ico"/>
    <link rel="index" title="Index" href="../genindex.html" />
    <link rel="search" title="Search" href="../search.html" />
    <link rel="next" title="FindLibinput" href="FindLibinput.html" />
    <link rel="prev" title="FindLATEX" href="FindLATEX.html" />

Navigation

          index

          next |

          previous |

    CMake »

    3.29.0-rc3 Documentation »

cmake-modules(7) »

FindLibArchive

FindLibArchive¶

Find libarchive library and headers.
Libarchive is multi-format archive and compression library.

The module defines the following variables:

LibArchive_FOUND        - true if libarchive was found
LibArchive_INCLUDE_DIRS - include search path
LibArchive_LIBRARIES    - libraries to link
LibArchive_VERSION      - libarchive 3-component version number

The module defines the following IMPORTED targets:

LibArchive::LibArchive  - target for linking against libarchive

New in version 3.6: Support for new libarchive 3.2 version string format.

New in version 3.17: Provides an imported target.

Previous topic

FindLATEX

Next topic

FindLibinput

This Page

Show Source

Quick search

    <form class="search" action="../search.html" method="get">
      <input type="text" name="q" aria-labelledby="searchlabel" autocomplete="off" autocorrect="off" autocapitalize="off" spellcheck="false"/>
      <input type="submit" value="Go" />
    </form>

Navigation

          index

          next |

          previous |

    CMake »

    3.29.0-rc3 Documentation »

cmake-modules(7) »

FindLibArchive

        © Copyright 2000-2024 Kitware, Inc. and Contributors.
      Created using Sphinx 6.2.1.


code:
<!DOCTYPE html>

    <meta charset="utf-8" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" /><meta name="generator" content="Docutils 0.19: https://docutils.sourceforge.io/" />

  <title>FindLibLZMA — CMake 3.29.0-rc3 Documentation</title>

    <link rel="stylesheet" type="text/css" href="../_static/pygments.css" />
    <link rel="stylesheet" type="text/css" href="../_static/cmake.css" />

    <link rel="icon" href="../_static/cmake-favicon.ico"/>
    <link rel="index" title="Index" href="../genindex.html" />
    <link rel="search" title="Search" href="../search.html" />
    <link rel="next" title="FindLibXml2" href="FindLibXml2.html" />
    <link rel="prev" title="FindLibinput" href="FindLibinput.html" />

Navigation

          index

          next |

          previous |

    CMake »

    3.29.0-rc3 Documentation »

cmake-modules(7) »

FindLibLZMA

FindLibLZMA¶

Find LZMA compression algorithm headers and library.

Imported Targets¶

New in version 3.14.

This module defines IMPORTED target LibLZMA::LibLZMA, if
liblzma has been found.

Result variables¶

This module will set the following variables in your project:

LIBLZMA_FOUND

True if liblzma headers and library were found.

LIBLZMA_INCLUDE_DIRS

Directory where liblzma headers are located.

LIBLZMA_LIBRARIES

Lzma libraries to link against.

LIBLZMA_HAS_AUTO_DECODER

True if lzma_auto_decoder() is found (required).

LIBLZMA_HAS_EASY_ENCODER

True if lzma_easy_encoder() is found (required).

LIBLZMA_HAS_LZMA_PRESET

True if lzma_lzma_preset() is found (required).

LIBLZMA_VERSION

New in version 3.26: the version of LZMA found.

See also legacy variable LIBLZMA_VERSION_STRING.

Legacy Variables¶

The following variables are provided for backward compatibility:

LIBLZMA_VERSION_MAJOR

The major version of lzma

LIBLZMA_VERSION_MINOR

The minor version of lzma

LIBLZMA_VERSION_PATCH

The patch version of lzma

LIBLZMA_VERSION_STRING

version number as a string (ex: "5.0.3")

Changed in version 3.26: Superseded by LIBLZMA_VERSION.

Table of Contents

FindLibLZMA

Imported Targets

Result variables

Legacy Variables

Previous topic

FindLibinput

Next topic

FindLibXml2

This Page

Show Source

Quick search

    <form class="search" action="../search.html" method="get">
      <input type="text" name="q" aria-labelledby="searchlabel" autocomplete="off" autocorrect="off" autocapitalize="off" spellcheck="false"/>
      <input type="submit" value="Go" />
    </form>

Navigation

          index

          next |

          previous |

    CMake »

    3.29.0-rc3 Documentation »

cmake-modules(7) »

FindLibLZMA

        © Copyright 2000-2024 Kitware, Inc. and Contributors.
      Created using Sphinx 6.2.1.