mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-01-26 15:55:31 +01:00
7ad7acd248
make wiiuse link dynamically with hid.dll, removing the need for WDK compile wiiuse as c++ git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@6394 8ced0084-cf51-0410-be5f-012b33b47a6e
17 lines
347 B
CMake
17 lines
347 B
CMake
set(SRCS Src/ir.cpp
|
|
Src/wiiuse.cpp)
|
|
|
|
if(APPLE)
|
|
set(SRCS ${SRCS} Src/io_osx.m)
|
|
elseif(UNIX 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})
|