| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
| |
To avoid issues with empty compilation units.
|
|
|
|
| |
Signed-off-by: Mark Harris <mark.hsj@gmail.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
| |
Signed-off-by: Ralph Giles <giles@thaumas.net>
|
| |
|
|
|
|
| |
version parsing
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
CMAKE_SOURCE_DIR corresponds to the top project's source directory.
CMAKE_BINARY_DIR corresponds to the top project's binary directory.
The usage of these variables doesn't cause any problems when Opus is built as a standalone project.
This is not the case when Opus is added as submodule: the variables are set by the project that calls "add_subdirectory()".
The fix consists in using PROJECT_SOURCE_DIR and PROJECT_BINARY_DIR, which always refer to the current project.
Signed-off-by: Mark Harris <mark.hsj@gmail.com>
|
|
|
|
| |
Signed-off-by: Mark Harris <mark.hsj@gmail.com>
|
|
|
|
| |
Signed-off-by: Mark Harris <mark.hsj@gmail.com>
|
|
|
|
| |
Signed-off-by: Mark Harris <mark.hsj@gmail.com>
|
|
|
|
| |
Signed-off-by: Mark Harris <mark.hsj@gmail.com>
|
|
Signed-off-by: Jean-Marc Valin <jmvalin@jmvalin.ca>
|