diff --git a/SDL2Config.cmake b/SDL2Config.cmake index e24fa7975..7c31469f1 100644 --- a/SDL2Config.cmake +++ b/SDL2Config.cmake @@ -68,10 +68,10 @@ if( sdl2implib AND sdl2mainimplib AND sdl2implibdbg AND sdl2mainimplibdbg ) set(SDL2_LIBRARIES $,${sdl2mainimplibdbg},${sdl2mainimplib}> $,${sdl2implibdbg},${sdl2implib}>) else() if( (NOT sdl2implib) AND sdl2implibdbg ) # if we only have a debug version of the lib - set(sdl2implib sdl2implibdbg) + set(sdl2implib ${sdl2implibdbg}) endif() if( (NOT sdl2mainimplib) AND sdl2mainimplibdbg ) # if we only have a debug version of the lib - set(sdl2mainimplib sdl2mainimplibdbg) + set(sdl2mainimplib ${sdl2mainimplibdbg}) endif() if( sdl2implib AND sdl2mainimplib )