Merge pull request #6358 from myfreeweb/dont-link-usbhid

Do not link to libusbhid on FreeBSD/NetBSD
This commit is contained in:
Léo Lam
2018-02-05 11:59:35 +01:00
committed by GitHub
2 changed files with 0 additions and 8 deletions

View File

@ -757,10 +757,6 @@ if(ENABLE_WX)
endif()
endif()
if(${CMAKE_SYSTEM_NAME} MATCHES "FreeBSD|NetBSD")
set(LIBS ${LIBS} usbhid)
endif()
########################################
# Pre-build events: Define configuration variables and write SCM info header
#

View File

@ -23,8 +23,4 @@ set(LIBS ${LIBS}
${X11_LIBRARIES}
)
if(${CMAKE_SYSTEM_NAME} MATCHES "FreeBSD|NetBSD")
set(LIBS ${LIBS} usbhid)
endif()
add_dolphin_library(videoogl "${SRCS}" "${LIBS}")