Fix cmake so it is possible to build without bluetooth support, and the typo that tells you bluetooth is enabled when it is not.

Fixes issue 3464.
Also make the check for portaudio really check the version of portaudio.


git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@6359 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
Glenn Rice committed 2010-11-08 02:51:31 +00:00
1 parent 2e0274dd1f
commit 57f01776ef
3 files changed
+14 -11

No files matched your search

+3 -1
View File
@@ -3,11 +3,13 @@ set(SRCS Src/ir.c
if(APPLE)
set(SRCS ${SRCS} Src/io_osx.m)
elseif(UNIX)
elseif(UNIX AND BLUEZ_FOUND)
set(SRCS ${SRCS} Src/io_nix.c)
set(LIBS ${LIBS} bluetooth)
elseif(WIN32)
set(SRCS ${SRCS} Src/io_win.c)
else()
set(SRCS ${SRCS} Src/io_dummy.c)
endif()
add_library(wiiuse STATIC ${SRCS})