<div dir="ltr"><div dir="ltr"><br></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Thu, Mar 14, 2019 at 8:53 PM <a href="mailto:Workbench@gmx.at">Workbench@gmx.at</a> <<a href="mailto:workbench@gmx.at">workbench@gmx.at</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Hi everyone,<br>
<br>
i'm searching for a way to find the right include dir so that -lm can be<br>
found, the is not find_package for this, is /usr/lib and /usr/include a<br>
default because he find it without me adding any include or lib path for<br>
the build.<br>
<br>
<br></blockquote><div><br></div><div>It seems strange that you need to do this.  In my experience 'm' is just the math portion of the 'c' library.  Depending on which host and toolset you are using there can be multiple version of the 'm' library depending on target architecture and other options used.  The linker should just use the correct 'm' library just as it uses the correct 'c' library.  It could be in /usr/lib depending on how the compiler was packaged for your host. <br></div></div></div>