summaryrefslogtreecommitdiff
path: root/Makefile.am
diff options
context:
space:
mode:
authorMarcus Asteborg <maastebo@microsoft.com>2022-07-05 22:48:35 -0700
committerMark Harris <mark.hsj@gmail.com>2022-07-07 22:01:42 -0700
commita80e9e9533d4edeaae282b82f77b8bd8a4903eca (patch)
tree85640b4ad39c78bbe40e3a760f2f201dddb91ff3 /Makefile.am
parentf1b088001ecbc523ffb07109f301d8773bec44b8 (diff)
downloadopus-a80e9e9533d4edeaae282b82f77b8bd8a4903eca.tar.gz
cmake - fix lrintf, lrint detection
This commit addresses the issues of not finding lrintf and lrint. We switch to check_symbol_exists instead per cmake documentation. Also make sure to link math lib for detection for nix. For MSVC the issue for non x86 builds was that the standard was set to default which is 199409L. This resulted in not using lrintf even that it was found. To address this we set the C standard to C11 and it will only apply to newer versions of MSVC where the /std flag is supported. Signed-off-by: Mark Harris <mark.hsj@gmail.com>
Diffstat (limited to 'Makefile.am')
0 files changed, 0 insertions, 0 deletions