Merge pull request #1957 from curlymorphic/1822
rebase of pr 1822 build fixes for freebsd
This commit is contained in:
@@ -45,7 +45,11 @@ public:
|
||||
|
||||
#ifdef LMMS_HAVE_PORTAUDIO
|
||||
|
||||
#if defined(__FreeBSD__)
|
||||
#include <portaudio2/portaudio.h>
|
||||
#else
|
||||
#include <portaudio.h>
|
||||
#endif
|
||||
|
||||
#include "AudioDevice.h"
|
||||
|
||||
|
||||
@@ -34,7 +34,7 @@
|
||||
#include <cmath>
|
||||
using namespace std;
|
||||
|
||||
#if defined (LMMS_BUILD_WIN32) || defined (LMMS_BUILD_APPLE) || defined(LMMS_BUILD_HAIKU)
|
||||
#if defined (LMMS_BUILD_WIN32) || defined (LMMS_BUILD_APPLE) || defined(LMMS_BUILD_HAIKU) || defined (__FreeBSD__)
|
||||
#ifndef isnanf
|
||||
#define isnanf(x) isnan(x)
|
||||
#endif
|
||||
|
||||
@@ -1,3 +1,7 @@
|
||||
INCLUDE_DIRECTORIES(
|
||||
${SAMPLERATE_INCLUDE_DIRS}
|
||||
)
|
||||
|
||||
ADD_SUBDIRECTORY(Amplifier)
|
||||
ADD_SUBDIRECTORY(audio_file_processor)
|
||||
ADD_SUBDIRECTORY(BassBooster)
|
||||
|
||||
@@ -147,7 +147,7 @@ ENDIF(LMMS_BUILD_WIN32)
|
||||
|
||||
# FLTK needs X
|
||||
IF(LMMS_BUILD_LINUX)
|
||||
TARGET_LINK_LIBRARIES(RemoteZynAddSubFx -ldl)
|
||||
TARGET_LINK_LIBRARIES(RemoteZynAddSubFx ${CMAKE_DL_LIBS})
|
||||
ENDIF(LMMS_BUILD_LINUX)
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user