mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-21 05:09:34 -06:00
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:
@ -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})
|
||||
|
||||
|
@ -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){}
|
||||
|
Reference in New Issue
Block a user