cmake: Add missing dependencies on libs on Windows

This commit is contained in:
Florent Castelli 2017-01-20 23:05:06 +01:00
parent b5b9c0cfc3
commit 1516361d1d
1 changed files with 4 additions and 0 deletions

View File

@ -274,6 +274,10 @@ set(LIBS ${LIBS} ${MBEDTLS_LIBRARIES})
if(WIN32) if(WIN32)
set(SRCS ${SRCS} HW/EXI/BBA-TAP/TAP_Win32.cpp HW/WiimoteReal/IOWin.cpp) set(SRCS ${SRCS} HW/EXI/BBA-TAP/TAP_Win32.cpp HW/WiimoteReal/IOWin.cpp)
list(APPEND LIBS
setupapi.lib
iphlpapi.lib
)
elseif(APPLE) elseif(APPLE)
set(SRCS ${SRCS} HW/EXI/BBA-TAP/TAP_Apple.cpp HW/WiimoteReal/IOdarwin.mm) set(SRCS ${SRCS} HW/EXI/BBA-TAP/TAP_Apple.cpp HW/WiimoteReal/IOdarwin.mm)
set(LIBS ${LIBS} set(LIBS ${LIBS}