Commit Graph

5 Commits

Author SHA1 Message Date
Robert Adam
cdbc405887
Merge pull request #4810: MAINT: Copyright update
This PR updates the copyright notices of all files. For doing so
it introduces a script that can do this automatically.

Furthermore a few files that are no longer needed got removed.
2021-03-02 19:31:28 +01:00
Robert Adam
59ae429972 MAINT: Update copyright notice to 2021
This was done by running scripts/updateLicenseHeaders.py and then
manually editing the LICENSE file.
2021-03-02 10:15:01 +01:00
Joseph Utecht
27abb09371 BUILD(cmake): Fix pkg search on case-insensitive filesystems
If a package is searched for with multiple casings (as is currently the
case for libsndfile), it will be very hard to use the resulting cmake variables
(e.g. <name>_FOUND, <name>_LIBRARIES) as one does not know which casing was
eventually found.

This issue actually broke the build on macOS when installing libsndfile
via homebrew.

This change sets the all-lowercase version of the package
name variables (if multiple cases of the spelling are contained in the
package's aliases) so that this can then be used further down to reference
the result, without needing to iterate through all the options again to
determine which case was found.

Fixes #4790
2021-02-27 12:02:17 -06:00
Robert Adam
fda302af98 BUILD(cmake): Added debug-dependency-search option
If the user uses -Ddebug-dependency-search=OFF, then the find_pkg
function will not perform its searches using the QUIET flag causing a
lot of (valuable) information to be printed to the screen.
2020-08-31 17:30:53 +02:00
Davide Beatrici
f08cfe5fa4 Add CMake functions and modules 2020-07-11 19:34:49 +02:00