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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user