From 1516361d1da642b48ac322ac4ca9cd2ba856d8fe Mon Sep 17 00:00:00 2001 From: Florent Castelli Date: Fri, 20 Jan 2017 23:05:06 +0100 Subject: [PATCH] cmake: Add missing dependencies on libs on Windows --- Source/Core/Core/CMakeLists.txt | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Source/Core/Core/CMakeLists.txt b/Source/Core/Core/CMakeLists.txt index acf3d7766b..9e343dc005 100644 --- a/Source/Core/Core/CMakeLists.txt +++ b/Source/Core/Core/CMakeLists.txt @@ -274,6 +274,10 @@ set(LIBS ${LIBS} ${MBEDTLS_LIBRARIES}) if(WIN32) set(SRCS ${SRCS} HW/EXI/BBA-TAP/TAP_Win32.cpp HW/WiimoteReal/IOWin.cpp) + list(APPEND LIBS + setupapi.lib + iphlpapi.lib + ) elseif(APPLE) set(SRCS ${SRCS} HW/EXI/BBA-TAP/TAP_Apple.cpp HW/WiimoteReal/IOdarwin.mm) set(LIBS ${LIBS}