Merge pull request #6358 from myfreeweb/dont-link-usbhid
Do not link to libusbhid on FreeBSD/NetBSD
This commit is contained in:
2 files changed
-8
No files matched your search
@@ -757,10 +757,6 @@ if(ENABLE_WX)
|
|||||||
endif()
|
endif()
|
||||||
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
|
# Pre-build events: Define configuration variables and write SCM info header
|
||||||
#
|
#
|
||||||
|
|||||||
@@ -23,8 +23,4 @@ set(LIBS ${LIBS}
|
|||||||
${X11_LIBRARIES}
|
${X11_LIBRARIES}
|
||||||
)
|
)
|
||||||
|
|
||||||
if(${CMAKE_SYSTEM_NAME} MATCHES "FreeBSD|NetBSD")
|
|
||||||
set(LIBS ${LIBS} usbhid)
|
|
||||||
endif()
|
|
||||||
|
|
||||||
add_dolphin_library(videoogl "${SRCS}" "${LIBS}")
|
add_dolphin_library(videoogl "${SRCS}" "${LIBS}")
|
||||||
Reference in new issue
Block a user