<h5 dir="auto">System information (version)</h5>

<ul dir="auto">
<li>OpenCV =&gt; git version till [Wed Nov 21 15:54:42 2018] <a class="commit-link" data-hovercard-type="commit" data-hovercard-url="https://github.com/opencv/opencv/commit/b6a447798ac0d56aac11dfff2d61d420260e7f19/hovercard" href="https://github.com/opencv/opencv/commit/b6a447798ac0d56aac11dfff2d61d420260e7f19"><tt>b6a4477</tt></a></li>
<li>Operating System / Platform =&gt; Ubuntu 18.04.1 LTS</li>
<li>Compiler =&gt; g++ (Ubuntu 5.5.0-12ubuntu1) 5.5.0 20171010</li>
</ul>
<h5 dir="auto">Detailed description</h5>

<p dir="auto">compiled done, with "make install" command<br>
the opencv.pc in ${prefix}/lib/pkgconfig/opencv.pc should update<br>
for pkg-config  --cflags output correctly</p>
<h5 dir="auto">Steps to reproduce</h5>

<p dir="auto">make install<br>
pkg-config --cflags opencv</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content=""><pre lang="should" class="notranslate"><code class="notranslate"></code></pre></div>
<h5 dir="auto">System information (version)</h5>
<ul dir="auto">
<li>OpenCV =&gt; 4.0.0-rc</li>
<li>Operating System / Platform =&gt; Ubuntu 18.10</li>
<li>Compiler =&gt; gcc 8.2.0 / gcc 6</li>
</ul>
<h5 dir="auto">Detailed description</h5>
<p dir="auto">I did cmake ...Then make and then make install<br>
and it does not generate opencv.pc file.</p>
<p dir="auto">If I use same commands for version 3.4.3 then the file is created.</p>
<p dir="auto">Another thing<br>
if I link with pkgconfig then it links to librarys with no version numbers.<br>
so installing 4.0.0-rc after 3.4.3 makes pkgconfig unusable.<br>
it would be nice if there were multiple opencv.pc files like opencv3.4.pc opencv4.pc</p>