mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-24 14:49:42 -06:00
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
This commit is contained in:
@ -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)
|
||||
|
@ -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)
|
||||
|
Reference in New Issue
Block a user