Merge pull request #4696 from Orphis/cmake_cleanup

CMake cleanup for Windows (moar!)
This commit is contained in:
Matthew Parlane 2017-01-21 13:09:52 +13:00 committed by GitHub
commit 71ea457874
9 changed files with 146 additions and 5 deletions

View file

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