summaryrefslogtreecommitdiff
path: root/Source/Core
diff options
context:
space:
mode:
authorGlenn Rice <glennricster@gmail.com>2010-11-04 02:01:07 +0000
committerGlenn Rice <glennricster@gmail.com>2010-11-04 02:01:07 +0000
commit4b0d4ded98522ca29c5f245ac653bbd225c086b1 (patch)
tree831aa60fe5bdf13450faf57494832c484cd1b49f /Source/Core
parent7b23bf666f1ec39b6b2716d08baf1551f8bea72b (diff)
More cmake work.
Added autodetection of shared libraries. Added a check for Xrandr. Fix OpenAL linkage. Copy User and Sys directories to lower case in the binary directory. git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@6338 8ced0084-cf51-0410-be5f-012b33b47a6e
Diffstat (limited to 'Source/Core')
-rw-r--r--Source/Core/AudioCommon/CMakeLists.txt4
-rw-r--r--Source/Core/DolphinWX/CMakeLists.txt4
2 files changed, 6 insertions, 2 deletions
diff --git a/Source/Core/AudioCommon/CMakeLists.txt b/Source/Core/AudioCommon/CMakeLists.txt
index 3169574a1f..da7a000ea2 100644
--- a/Source/Core/AudioCommon/CMakeLists.txt
+++ b/Source/Core/AudioCommon/CMakeLists.txt
@@ -20,8 +20,8 @@ else()
endif(AO_FOUND)
if(OPENAL_FOUND OR WIN32)
- set(SRCS ${SRCS} Src/OpenALStream.cpp)
- set(LIBS ${LIBS} ${OPENAL_LIBRARIES})
+ set(SRCS ${SRCS} Src/OpenALStream.cpp Src/aldlist.cpp)
+ set(LIBS ${LIBS} openal)
endif(OPENAL_FOUND OR WIN32)
if(PULSEAUDIO_FOUND)
diff --git a/Source/Core/DolphinWX/CMakeLists.txt b/Source/Core/DolphinWX/CMakeLists.txt
index 666a0466d6..c10dc69b55 100644
--- a/Source/Core/DolphinWX/CMakeLists.txt
+++ b/Source/Core/DolphinWX/CMakeLists.txt
@@ -53,6 +53,10 @@ else(wxWidgets_FOUND)
Src/cmdline.c)
endif()
+if(XRANDR_FOUND)
+ set(LIBS ${LIBS} ${XRANDR_LIBRARIES})
+endif(XRANDR_FOUND)
+
if(WIN32)
set(SRCS ${SRCS} Src/stdafx.cpp)
elseif(APPLE AND NOT wxWidgets_FOUND)