cmake: Add missing dependencies on libs on Windows
This commit is contained in:
parent
b5b9c0cfc3
commit
1516361d1d
|
@ -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}
|
||||||
|
|
Loading…
Reference in New Issue