Usually you don't need to use the full path to libm, and it's only needed
sometimes depending on your compiler and toolchain. I typically use
something like the following to deal with both the implicit and explicit
scenarios:
include(CheckCSourceCompiles)
set(LIBM_TEST_SOURCE "#include\nfloat f;
On Thu, Mar 14, 2019 at 8:53 PM workbe...@gmx.at wrote:
> Hi everyone,
>
> i'm searching for a way to find the right include dir so that -lm can be
> found, the is not find_package for this, is /usr/lib and /usr/include a
> default because he find it without me adding any include or lib path for
Hi everyone,
i'm searching for a way to find the right include dir so that -lm can be
found, the is not find_package for this, is /usr/lib and /usr/include a
default because he find it without me adding any include or lib path for
the build.
best regards!
pEpkey.asc
Description: application/p