<!DOCTYPE html> | |
<html xmlns="http://www.w3.org/1999/xhtml" lang="en"> | |
<head> | |
<meta charset="utf-8" /> | |
<title>FindIntl — CMake 3.23.1 Documentation</title> | |
<link rel="stylesheet" href="../_static/cmake.css" type="text/css" /> | |
<link rel="stylesheet" href="../_static/pygments.css" type="text/css" /> | |
<script type="text/javascript" id="documentation_options" data-url_root="../" src="../_static/documentation_options.js"></script> | |
<script type="text/javascript" src="../_static/jquery.js"></script> | |
<script type="text/javascript" src="../_static/underscore.js"></script> | |
<script type="text/javascript" src="../_static/doctools.js"></script> | |
<script type="text/javascript" src="../_static/language_data.js"></script> | |
<link rel="shortcut 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="FindITK" href="FindITK.html" /> | |
<link rel="prev" title="FindImageMagick" href="FindImageMagick.html" /> | |
</head><body> | |
<div class="related" role="navigation" aria-label="related navigation"> | |
<h3>Navigation</h3> | |
<ul> | |
<li class="right" style="margin-right: 10px"> | |
<a href="../genindex.html" title="General Index" | |
accesskey="I">index</a></li> | |
<li class="right" > | |
<a href="FindITK.html" title="FindITK" | |
accesskey="N">next</a> |</li> | |
<li class="right" > | |
<a href="FindImageMagick.html" title="FindImageMagick" | |
accesskey="P">previous</a> |</li> | |
<li> | |
<img src="../_static/cmake-logo-16.png" alt="" | |
style="vertical-align: middle; margin-top: -2px" /> | |
</li> | |
<li> | |
<a href="https://cmake.org/">CMake</a> » | |
</li> | |
<li> | |
<a href="../index.html">3.23.1 Documentation</a> » | |
</li> | |
<li class="nav-item nav-item-1"><a href="../manual/cmake-modules.7.html" accesskey="U">cmake-modules(7)</a> »</li> | |
</ul> | |
</div> | |
<div class="document"> | |
<div class="documentwrapper"> | |
<div class="bodywrapper"> | |
<div class="body" role="main"> | |
<div class="section" id="findintl"> | |
<span id="module:FindIntl"></span><h1>FindIntl<a class="headerlink" href="#findintl" title="Permalink to this headline">¶</a></h1> | |
<div class="versionadded"> | |
<p><span class="versionmodified added">New in version 3.2.</span></p> | |
</div> | |
<p>Find the Gettext libintl headers and libraries.</p> | |
<p>This module reports information about the Gettext libintl | |
installation in several variables.</p> | |
<dl class="variable"> | |
<dt id="variable:Intl_FOUND"> | |
<code class="sig-name descname">Intl_FOUND</code><a class="headerlink" href="#variable:Intl_FOUND" title="Permalink to this definition">¶</a></dt> | |
<dd><p>True if libintl is found.</p> | |
</dd></dl> | |
<dl class="variable"> | |
<dt id="variable:Intl_INCLUDE_DIRS"> | |
<code class="sig-name descname">Intl_INCLUDE_DIRS</code><a class="headerlink" href="#variable:Intl_INCLUDE_DIRS" title="Permalink to this definition">¶</a></dt> | |
<dd><p>The directory containing the libintl headers.</p> | |
</dd></dl> | |
<dl class="variable"> | |
<dt id="variable:Intl_LIBRARIES"> | |
<code class="sig-name descname">Intl_LIBRARIES</code><a class="headerlink" href="#variable:Intl_LIBRARIES" title="Permalink to this definition">¶</a></dt> | |
<dd><p>The intl libraries to be linked.</p> | |
</dd></dl> | |
<dl class="variable"> | |
<dt id="variable:Intl_VERSION"> | |
<code class="sig-name descname">Intl_VERSION</code><a class="headerlink" href="#variable:Intl_VERSION" title="Permalink to this definition">¶</a></dt> | |
<dd><div class="versionadded"> | |
<p><span class="versionmodified added">New in version 3.21.</span></p> | |
</div> | |
<p>The version of intl found (x.y.z)</p> | |
</dd></dl> | |
<dl class="variable"> | |
<dt id="variable:Intl_VERSION_MAJOR"> | |
<code class="sig-name descname">Intl_VERSION_MAJOR</code><a class="headerlink" href="#variable:Intl_VERSION_MAJOR" title="Permalink to this definition">¶</a></dt> | |
<dd><div class="versionadded"> | |
<p><span class="versionmodified added">New in version 3.21.</span></p> | |
</div> | |
<p>The major version of intl</p> | |
</dd></dl> | |
<dl class="variable"> | |
<dt id="variable:Intl_VERSION_MINOR"> | |
<code class="sig-name descname">Intl_VERSION_MINOR</code><a class="headerlink" href="#variable:Intl_VERSION_MINOR" title="Permalink to this definition">¶</a></dt> | |
<dd><div class="versionadded"> | |
<p><span class="versionmodified added">New in version 3.21.</span></p> | |
</div> | |
<p>The minor version of intl</p> | |
</dd></dl> | |
<dl class="variable"> | |
<dt id="variable:Intl_VERSION_PATCH"> | |
<code class="sig-name descname">Intl_VERSION_PATCH</code><a class="headerlink" href="#variable:Intl_VERSION_PATCH" title="Permalink to this definition">¶</a></dt> | |
<dd><div class="versionadded"> | |
<p><span class="versionmodified added">New in version 3.21.</span></p> | |
</div> | |
<p>The patch version of intl</p> | |
</dd></dl> | |
<div class="versionadded"> | |
<p><span class="versionmodified added">New in version 3.20: </span>This module defines <span class="target" id="index-0-prop_tgt:IMPORTED"></span><a class="reference internal" href="../prop_tgt/IMPORTED.html#prop_tgt:IMPORTED" title="IMPORTED"><code class="xref cmake cmake-prop_tgt docutils literal notranslate"><span class="pre">IMPORTED</span></code></a> target <code class="docutils literal notranslate"><span class="pre">Intl::Intl</span></code>.</p> | |
</div> | |
<p>The following cache variables may also be set:</p> | |
<dl class="variable"> | |
<dt id="variable:Intl_INCLUDE_DIR"> | |
<code class="sig-name descname">Intl_INCLUDE_DIR</code><a class="headerlink" href="#variable:Intl_INCLUDE_DIR" title="Permalink to this definition">¶</a></dt> | |
<dd><p>The directory containing the libintl headers</p> | |
</dd></dl> | |
<dl class="variable"> | |
<dt id="variable:Intl_LIBRARY"> | |
<code class="sig-name descname">Intl_LIBRARY</code><a class="headerlink" href="#variable:Intl_LIBRARY" title="Permalink to this definition">¶</a></dt> | |
<dd><p>The libintl library (if any)</p> | |
</dd></dl> | |
<dl class="variable"> | |
<dt id="variable:Intl_IS_BUILT_IN"> | |
<code class="sig-name descname">Intl_IS_BUILT_IN</code><a class="headerlink" href="#variable:Intl_IS_BUILT_IN" title="Permalink to this definition">¶</a></dt> | |
<dd><div class="versionadded"> | |
<p><span class="versionmodified added">New in version 3.20.</span></p> | |
</div> | |
<p>whether <code class="docutils literal notranslate"><span class="pre">intl</span></code> is a part of the C library.</p> | |
</dd></dl> | |
<div class="admonition note"> | |
<p class="admonition-title">Note</p> | |
<p>On some platforms, such as Linux with GNU libc, the gettext | |
functions are present in the C standard library and libintl | |
is not required. <code class="docutils literal notranslate"><span class="pre">Intl_LIBRARIES</span></code> will be empty in this | |
case.</p> | |
</div> | |
<div class="admonition note"> | |
<p class="admonition-title">Note</p> | |
<p>Some libintl implementations don't embed the version number in their header files. | |
In this case the variables <code class="docutils literal notranslate"><span class="pre">Intl_VERSION*</span></code> will be empty.</p> | |
</div> | |
<div class="admonition note"> | |
<p class="admonition-title">Note</p> | |
<p>If you wish to use the Gettext tools (<code class="docutils literal notranslate"><span class="pre">msgmerge</span></code>, | |
<code class="docutils literal notranslate"><span class="pre">msgfmt</span></code>, etc.), use <span class="target" id="index-0-module:FindGettext"></span><a class="reference internal" href="FindGettext.html#module:FindGettext" title="FindGettext"><code class="xref cmake cmake-module docutils literal notranslate"><span class="pre">FindGettext</span></code></a>.</p> | |
</div> | |
</div> | |
</div> | |
</div> | |
</div> | |
<div class="sphinxsidebar" role="navigation" aria-label="main navigation"> | |
<div class="sphinxsidebarwrapper"> | |
<h4>Previous topic</h4> | |
<p class="topless"><a href="FindImageMagick.html" | |
title="previous chapter">FindImageMagick</a></p> | |
<h4>Next topic</h4> | |
<p class="topless"><a href="FindITK.html" | |
title="next chapter">FindITK</a></p> | |
<div role="note" aria-label="source link"> | |
<h3>This Page</h3> | |
<ul class="this-page-menu"> | |
<li><a href="../_sources/module/FindIntl.rst.txt" | |
rel="nofollow">Show Source</a></li> | |
</ul> | |
</div> | |
<div id="searchbox" style="display: none" role="search"> | |
<h3 id="searchlabel">Quick search</h3> | |
<div class="searchformwrapper"> | |
<form class="search" action="../search.html" method="get"> | |
<input type="text" name="q" aria-labelledby="searchlabel" /> | |
<input type="submit" value="Go" /> | |
</form> | |
</div> | |
</div> | |
<script type="text/javascript">$('#searchbox').show(0);</script> | |
</div> | |
</div> | |
<div class="clearer"></div> | |
</div> | |
<div class="related" role="navigation" aria-label="related navigation"> | |
<h3>Navigation</h3> | |
<ul> | |
<li class="right" style="margin-right: 10px"> | |
<a href="../genindex.html" title="General Index" | |
>index</a></li> | |
<li class="right" > | |
<a href="FindITK.html" title="FindITK" | |
>next</a> |</li> | |
<li class="right" > | |
<a href="FindImageMagick.html" title="FindImageMagick" | |
>previous</a> |</li> | |
<li> | |
<img src="../_static/cmake-logo-16.png" alt="" | |
style="vertical-align: middle; margin-top: -2px" /> | |
</li> | |
<li> | |
<a href="https://cmake.org/">CMake</a> » | |
</li> | |
<li> | |
<a href="../index.html">3.23.1 Documentation</a> » | |
</li> | |
<li class="nav-item nav-item-1"><a href="../manual/cmake-modules.7.html" >cmake-modules(7)</a> »</li> | |
</ul> | |
</div> | |
<div class="footer" role="contentinfo"> | |
© Copyright 2000-2022 Kitware, Inc. and Contributors. | |
Created using <a href="http://sphinx-doc.org/">Sphinx</a> 2.1.2. | |
</div> | |
</body> | |
</html> |