clean up linking on windows
This commit is contained in:
@@ -36,7 +36,7 @@ endif()
|
|||||||
add_library(wiiuse SHARED ${SOURCES} ${API})
|
add_library(wiiuse SHARED ${SOURCES} ${API})
|
||||||
|
|
||||||
if(WIN32)
|
if(WIN32)
|
||||||
target_link_libraries(wiiuse Ws2_32.lib ${WINHID_LIBRARIES} setupapi.lib)
|
target_link_libraries(wiiuse Ws2_32 setupapi ${WINHID_LIBRARIES})
|
||||||
elseif(LINUX)
|
elseif(LINUX)
|
||||||
target_link_libraries(wiiuse m ${BLUEZ_LIBRARIES})
|
target_link_libraries(wiiuse m ${BLUEZ_LIBRARIES})
|
||||||
endif()
|
endif()
|
||||||
|
|||||||
Reference in New Issue
Block a user