diff --git a/Source/Core/DolphinWX/CMakeLists.txt b/Source/Core/DolphinWX/CMakeLists.txt index 9a2d7a6804..ef41d4f279 100644 --- a/Source/Core/DolphinWX/CMakeLists.txt +++ b/Source/Core/DolphinWX/CMakeLists.txt @@ -13,11 +13,11 @@ set(LIBS core ${X11_LIBRARIES}) if(SDL2_FOUND) - set(LIBS ${LIBS} SDL2) + set(LIBS ${LIBS} ${SDL2_LIBRARY}) endif() if(SDL_FOUND) - set(LIBS ${LIBS} SDL) + set(LIBS ${LIBS} ${SDL_LIBRARY}) endif() if(LIBAV_FOUND)