diff --git a/Source/Core/DolphinWX/CMakeLists.txt b/Source/Core/DolphinWX/CMakeLists.txt index b92ed72e61..0bdc56829f 100644 --- a/Source/Core/DolphinWX/CMakeLists.txt +++ b/Source/Core/DolphinWX/CMakeLists.txt @@ -60,9 +60,7 @@ if(wxWidgets_FOUND) Src/RegisterWindow.cpp Src/VideoConfigDiag.cpp) - set(WXLIBS debwx - debugger_ui_util - ${wxWidgets_LIBRARIES} + set(WXLIBS ${wxWidgets_LIBRARIES} ${GTK2_LIBRARIES}) else(wxWidgets_FOUND) diff --git a/Source/Plugins/Plugin_VideoOGL/CMakeLists.txt b/Source/Plugins/Plugin_VideoOGL/CMakeLists.txt index 7c9f91a992..c57106645f 100644 --- a/Source/Plugins/Plugin_VideoOGL/CMakeLists.txt +++ b/Source/Plugins/Plugin_VideoOGL/CMakeLists.txt @@ -19,7 +19,7 @@ set(LIBS videocommon ${X11_LIBRARIES}) if(wxWidgets_FOUND) - set(LIBS videouicommon ${LIBS} ${wxWidgets_LIBRARIES}) + set(LIBS ${LIBS} ${wxWidgets_LIBRARIES}) endif(wxWidgets_FOUND) if(APPLE OR WIN32 OR ${CMAKE_SYSTEM_NAME} MATCHES "Linux")