Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.xiph.org/xiph/opus.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarcus Asteborg <maastebo@microsoft.com>2022-07-06 08:48:35 +0300
committerMark Harris <mark.hsj@gmail.com>2022-07-08 08:01:42 +0300
commita80e9e9533d4edeaae282b82f77b8bd8a4903eca (patch)
tree85640b4ad39c78bbe40e3a760f2f201dddb91ff3 /CMakeLists.txt
parentf1b088001ecbc523ffb07109f301d8773bec44b8 (diff)
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 'CMakeLists.txt')
0 files changed, 0 insertions, 0 deletions