tcbrindle / sdl2-cmake-scripts

CMake scripts for finding SDL2 headers and libraries on multiple platforms
326 stars 98 forks source link

Incorrect readme file example #17

Closed sistemd closed 7 years ago

sistemd commented 7 years ago

In an example in the readme file you use ${SDL2_LIBRARY}. This doesn't seem to exist. By my understanding that should say ${SDL2_LIBRARIES}.

Wasted 4 hours of my life

sistemd commented 7 years ago

I'm sorry this is a mistake Apparently my distro provides it's own FindSDL2 script or something (?? I'm still unsure) - it seems to have overridden your script. They provide the name ${SDL2_LIBRARIES}, and ${SDL2_LIBRARY} was an empty string for me. Sorry for ringing you up again! My bad. Not your fault I wasted 4 hours of my life.