diff options
| author | Glenn Rice <glennricster@gmail.com> | 2010-11-06 03:49:18 +0000 |
|---|---|---|
| committer | Glenn Rice <glennricster@gmail.com> | 2010-11-06 03:49:18 +0000 |
| commit | d0afc20596413cc02b58bf23e960c29bd2b3e9de (patch) | |
| tree | f5ac2798295528e50ea436164e18cebe4a80d3fd /Source/Core | |
| parent | 7864f3c0871f49c6ee74582ead8768badd44bebf (diff) | |
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
Diffstat (limited to 'Source/Core')
| -rw-r--r-- | Source/Core/Core/CMakeLists.txt | 8 | ||||
| -rw-r--r-- | Source/Core/Core/Src/HW/EXI_DeviceMic.cpp | 2 | ||||
| -rw-r--r-- | Source/Core/VideoCommon/CMakeLists.txt | 1 |
3 files changed, 8 insertions, 3 deletions
diff --git a/Source/Core/Core/CMakeLists.txt b/Source/Core/Core/CMakeLists.txt index 1f66798555..59c3caef74 100644 --- a/Source/Core/Core/CMakeLists.txt +++ b/Source/Core/Core/CMakeLists.txt @@ -139,6 +139,12 @@ elseif(UNIX) set(SRCS ${SRCS} Src/HW/BBA-TAP/TAP_Unix.cpp) endif() +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 bdisasm inputcommon lua sfml-network wiiuse) +target_link_libraries(core ${LIBS}) diff --git a/Source/Core/Core/Src/HW/EXI_DeviceMic.cpp b/Source/Core/Core/Src/HW/EXI_DeviceMic.cpp index 6a77965874..78cf22651a 100644 --- a/Source/Core/Core/Src/HW/EXI_DeviceMic.cpp +++ b/Source/Core/Core/Src/HW/EXI_DeviceMic.cpp @@ -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){} diff --git a/Source/Core/VideoCommon/CMakeLists.txt b/Source/Core/VideoCommon/CMakeLists.txt index a52aff9493..3fb43bee8d 100644 --- a/Source/Core/VideoCommon/CMakeLists.txt +++ b/Source/Core/VideoCommon/CMakeLists.txt @@ -33,7 +33,6 @@ set(SRCS Src/BPMemory.cpp Src/XFMemory.cpp Src/XFStructs.cpp) -# TODO? if(OPENCL_FOUND) set(SRCS ${SRCS} Src/OpenCL/OCLTextureDecoder.cpp) endif(OPENCL_FOUND) |
