<div dir="ltr">Thanks! I missed that property.<div>Tamas</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Apr 7, 2016 at 4:13 PM, Brad King <span dir="ltr"><<a href="mailto:brad.king@kitware.com" target="_blank">brad.king@kitware.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="">On 04/07/2016 10:03 AM, Tamás Kenéz wrote:<br>
> CMake uses "-isystem" on the compiler command line for the<br>
> INTERFACE_INCLUDE_DIRECTORIES of imported libraries.<br>
><br>
</span><span class="">> Question: is this the intended behaviour?<br>
<br>
</span>Yes.  See discussion here:<br>
<br>
* <a href="http://thread.gmane.org/gmane.comp.programming.tools.cmake.devel/7533" rel="noreferrer" target="_blank">http://thread.gmane.org/gmane.comp.programming.tools.cmake.devel/7533</a><br>
<br>
and implementation here:<br>
<br>
* Always consider includes from IMPORTED targets to be SYSTEM.<br>
  <a href="https://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=a63fcbcb" rel="noreferrer" target="_blank">https://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=a63fcbcb</a><br>
<span class=""><br>
> Can I force the -I flag somehow for my library?<br>
<br>
</span>Look at these:<br>
<br>
* <a href="https://cmake.org/cmake/help/v3.5/variable/CMAKE_NO_SYSTEM_FROM_IMPORTED.html" rel="noreferrer" target="_blank">https://cmake.org/cmake/help/v3.5/variable/CMAKE_NO_SYSTEM_FROM_IMPORTED.html</a><br>
* <a href="https://cmake.org/cmake/help/v3.5/prop_tgt/NO_SYSTEM_FROM_IMPORTED.html" rel="noreferrer" target="_blank">https://cmake.org/cmake/help/v3.5/prop_tgt/NO_SYSTEM_FROM_IMPORTED.html</a><br>
<span class="HOEnZb"><font color="#888888"><br>
-Brad<br>
<br>
</font></span></blockquote></div><br></div>