Added checks for portaudio and opencl to the cmake build system.

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@6351 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
Glenn Rice
2010-11-06 03:49:18 +00:00
parent 7864f3c087
commit d0afc20596
5 changed files with 49 additions and 14 deletions

View File

@ -139,6 +139,12 @@ elseif(UNIX)
set(SRCS ${SRCS} Src/HW/BBA-TAP/TAP_Unix.cpp)
endif()
add_library(core STATIC ${SRCS})
target_link_libraries(core bdisasm inputcommon lua sfml-network wiiuse)
set(LIBS bdisasm inputcommon lua sfml-network wiiuse)
if(PORTAUDIO_FOUND)
set(LIBS ${LIBS} portaudio)
endif(PORTAUDIO_FOUND)
add_library(core STATIC ${SRCS})
target_link_libraries(core ${LIBS})

View File

@ -27,7 +27,7 @@
bool MicButton = false;
bool IsOpen;
// Unfortunately this must be enabled in Common.h for windows users. Scons should enable it otherwise7
// Unfortunately this must be enabled in Common.h for windows users. Scons should enable it otherwise
#if !HAVE_PORTAUDIO
void SetMic(bool Value){}