diff --git a/CMakeLists.txt b/CMakeLists.txt index 568f9d62d2..8090ff1a2b 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -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 # diff --git a/Source/Core/VideoBackends/OGL/CMakeLists.txt b/Source/Core/VideoBackends/OGL/CMakeLists.txt index 9be7537704..8cd570c3c5 100644 --- a/Source/Core/VideoBackends/OGL/CMakeLists.txt +++ b/Source/Core/VideoBackends/OGL/CMakeLists.txt @@ -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}")