1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-10-20 17:41:13 +02:00

CMake: replace Conan with find_package and add find modules

Also, necessarily coupled with this:
* add CMakeLists.txt for vendored libnyquist
* fix SoundTouch header include paths
* move nyq_reformat_aud_do_response function
* handle portSMF headers installed to portsmf or portSMF

Signed-off-by: Be <be@mixxx.org>
This commit is contained in:
Be
2021-08-09 09:59:39 -05:00
parent 4777d04cf2
commit b1549dd13e
36 changed files with 2642 additions and 99 deletions

View File

@@ -1,22 +1,5 @@
// -*- mode: c++ -*-
// Indirectly include Allegro header so that we can disable warnings about unused parameters
// when compiling Audacity itself.
#ifdef _MSC_VER
// If this is compiled with MSVC (Visual Studio)
#pragma warning( push )
#pragma warning( disable : 4100)
#include "../portsmf/allegro.h"
#pragma warning( pop )
#elif defined(__linux__)
#include <cstring> // Allegro include fails if this header isn't included due to no memcpy
#include "../portsmf/allegro.h"
#else //_MSC_VER
#include "../portsmf/allegro.h"
#endif //_MSC_VER
#ifdef PORTSMF_CAPITAL
#include <portSMF/allegro.h>
#else
#include <portsmf/allegro.h>
#endif