mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2024-11-15 13:57:57 -07:00
a279b391cc
Also added an option to explicitly disable building with MPG framedumps. To use it add -DENCODE_FRAMEDUMPS=OFF to cmake on the command line. git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@6429 8ced0084-cf51-0410-be5f-012b33b47a6e
17 lines
413 B
CMake
17 lines
413 B
CMake
set(SRCS Src/ir.cpp
|
|
Src/wiiuse.cpp)
|
|
|
|
if(${CMAKE_SYSTEM_NAME} MATCHES "Darwin")
|
|
set(SRCS ${SRCS} Src/io_osx.m)
|
|
elseif((${CMAKE_SYSTEM_NAME} MATCHES "Linux") AND BLUEZ_FOUND)
|
|
set(SRCS ${SRCS} Src/io_nix.cpp)
|
|
set(LIBS ${LIBS} bluetooth)
|
|
elseif(WIN32)
|
|
set(SRCS ${SRCS} Src/io_win.cpp)
|
|
else()
|
|
set(SRCS ${SRCS} Src/io_dummy.cpp)
|
|
endif()
|
|
|
|
add_library(wiiuse STATIC ${SRCS})
|
|
target_link_libraries(wiiuse ${LIBS})
|